[EMAIL PROTECTED] wrote:
Hi guys, I developed a model with openmodelica, and I am running it
by calling the "simulate" command through a CORBA connection. Now,
everything works fine (connection, model, etc...), but the simulation
is extremely slow (getting results with the "val(..)" service, at the
end of the simulation, also takes long sometime). The model is quite
large, but if I run it in OMNotebook the simulation is much faster
(clearly, no interaction is allowed in this case). Does anyone have
this problem? Is the "interactive mode" known to be much slower? Do
you have any suggestion to speed up the simulation in corba mode?
Many thanks in advance for any suggestion. Cheers, Massimiliano
Hi,
This sounds strange as OMNotebook runs omc +d=interactiveCorba
in the background and when you evaluate the cell it will actually
send the command to the OMC compiler via Corba and get the results
back.
The simulation should take the same time if you run in OMNotebook
or via any other Corba connection (OMShell for example).
You could make the simulation time take less only
if you play with parameters of the simulation command:
simulate(Model, stopTime=1, tolerance=10e-3, numberOfIntervals=20);
Cheers,
Adrian Pop/