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
  • Index
  • » Users
  • » makkie
  • » Profile

Posts

Posts

Aug-04-10 13:12:57
dcmotor.mo simulation fails on 1.5.0 and xp

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

  • Index
  • » Users
  • » makkie
  • » Profile
You are here: