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
  • » jopunz
  • » Profile

Posts

Posts

Apr-13-12 17:23:45
OMEdit: get an "unknown error" when simulating

Hi everybody,

I just started using OpenModelica and need to use FMUs.

I can import and export them with OMEdit and in the OMShell but when simulating the FMUBlock I get an unknown error.

Has anybody ever had this before or do you have any suggestions on how to resolve it?

Here is the code I get in the shell:

Code:

importFMU("bouncingBall.fmu")

true

loadFile("bouncingBallFMUImport.mo")
true

simulate(FMUImport_bouncingBall.FMUBlock)

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 0.0001, method = 'dassl', fileNamePrefix = 'FMUImport_bouncingBall.FMUBlock', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: FMUImport_bouncingBall.FMUBlock
",
    timeFrontend = 0.0,
    timeBackend = 0.0,
    timeSimCode = 0.0,
    timeTemplates = 0.0,
    timeCompile = 0.0,
    timeSimulation = 0.0,
    timeTotal = 0.0
end SimulationResult;

Thank you all for your help!


I run: r11730 on ubuntu 11.10 32 bit

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