- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation failed ?
Simulation failed ?
Simulation failed ?
Hi,
I'm a brand new user of OM, (and of this forum apparently) and while running through the tutorial I'm surprised to see that no single 'simulate' command seems to work. I always get resultFile= "Simulation failed." See below for an example.
Anybody an idea how to solve this?
I just installed the 1.5.0 RC2 version on windows XP
Thanks a lot for your help,
Roel
>> loadFile("C:/OpenModelica1.5.0/testmodels/dcmotor.mo")
true
>> simulate(dcmotor,startTime=0.0,stopTime=10.0)
record SimulationResult
resultFile = "Simulation failed.
"
end SimulationResult;
Re: Simulation failed ?
The problem was that the first version of 1.5.0-RC2 I uploaded on the website was missing 2 header files.
You can re-download the file from: http://www.ida.liu.se/labs/pelab/modeli … ndows/rc2/
This will get rid of the simulation problems you had.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Simulation failed ?
I've installed Openmodelica in Ubuntu 10.04, and after doing the first User Guide examples, an error appears:
>> simulate(dcmotor,startTime=0.0,stopTime=10.0)
record SimulationResult
resultFile = "Simulation failed.
Error: Error occured while flattening model dcmotor
"
Anybody knows about it?
Thanks,
Jose
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation failed ?