Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

dcmotor.mo simulation fails

dcmotor.mo simulation fails

Hello,

I am new to Openmodelica. I am going through the tutorial. I have a problem that the testmodel dcmotor.mo fails in OMshell 1.5.0(final) on WinXP. The helloworld and bouncingball examples seem to run without a problem. Also tried in OMnotebook, but same result.

This is what I see in OMshell:
>> loadModel(Modelica)
true

>> loadFile("dcmotor.mo")
true

>> simulate(dcmotor)
record SimulationResult
    resultFile = "Simulation failed.
Error: Base class Modelica.Icons.Library2 not found in scope Modelica.Electrical
Error: Error occured while flattening model dcmotor
"
end SimulationResult;


I already tried 1.5 RC2 but the same errors appear.

Please help,

Marc

Re: dcmotor.mo simulation fails

I think I already answered this by email.
You can always try to (backup first!!) uninstall your OpenModelica (then delete the directory c:\OpenModelica1.5.0)
and install our latest build:
http://build.openmodelica.org/omc/builds/windows/
Try the last .msi as the other ones have a small issue with Compile.bat script current/smile

Cheers,
Adrian Pop/

There are 0 guests and 0 other users also viewing this topic