Opened 4 years ago

Last modified 4 years ago

#6225 new defect

OMSimulator hangs in the HUBCAP sandbox

Reported by: diewald@… Owned by: Adrian Pop
Priority: high Milestone:
Component: OMSimulator Version: v1.17.0-dev
Keywords: Cc:

Description

If I try to start the FMU simulation in the HUBCAP sandboxes (both command line and GUI), the simulation hangs. The models showing this behavior are attached. One of the models has an FMU generated with Overture 2.8.5 whereas the others FMU was generated with Overture 3.0.2. These SSP models were constructed by following the instructions from https://download.fortiss.org/public/projects/af3/help/example_co-simulation.html.

When executing the OMSimulator on the command line, the following output is produced:

# OMSimulator --numProcs=1 TestSSP.ssp
info:    Set temp directory to    "/home/adrpo33/testing/omsimulator"
info:    Set working directory to "/home/adrpo33/testing/omsimulator"
info:    New model "TestSSP" with corresponding temp directory "/home/adrpo33/testing/omsimulator/TestSSP-6jkx7taq"
info:    Set working directory to "/home/adrpo33/testing/omsimulator"
info:    Set working directory to "/home/adrpo33/testing/omsimulator/TestSSP-6jkx7taq"
info:    Set working directory to "/home/adrpo33/testing/omsimulator"
error:   [terminate] Model "TestSSP" is in wrong model state
info:    0 warnings
info:    1 errors

The workaround mentioned in the ticket #6182 (OMSimulator --deleteTempFiles=false TestSSP.ssp) does not help here.

Attachments (3)

TestSSP.ssp (21.7 MB ) - added by diewald@… 4 years ago.
SSP with FMU from Overture 2.8.5
test-overture3.ssp (21.7 MB ) - added by diewald@… 4 years ago.
SSP with FMU from Overture 3.0.2
SSP-ov_3_0_2-om_1_14_2-uninitialized.tar.gz (21.7 MB ) - added by diewald@… 4 years ago.
SSP - Overture 3.0.2 - OpenMOdelica v1.14.2 - Uninitialized

Change History (4)

by diewald@…, 4 years ago

Attachment: TestSSP.ssp added

SSP with FMU from Overture 2.8.5

by diewald@…, 4 years ago

Attachment: test-overture3.ssp added

SSP with FMU from Overture 3.0.2

comment:1 by diewald@…, 4 years ago

To be more precise: OMEdit already hangs as soon as the step to instantiate the model is done. I am not sure if this step is needed at all for OpenModelica versions >= 1.16.0: The parameters mentioned in the co-simulation instructions are set in a different dialog window compared to OpenModelica 1.14.2.

Meanwhile, I tried to set up a sandbox that includes all tools in the versions mentioned in the instructions, i.e. I tried to use OpenModelica 1.14.2. Unfortunately, OMEdit hangs when instantiating the SSP model. The OMSSimulation executed on the commandline produces errors for the non-instantiated model:

# OMSimulator --deleteTempFiles=false test.ssp 
info:    Set temp directory to    "/home/hubcap"
info:    Set working directory to "/home/hubcap"
info:    New model "test" with corresponding temp directory "/home/hubcap/test-dj4zoimx"
info:    Set working directory to "/home/hubcap"
info:    Set working directory to "/home/hubcap/test-dj4zoimx"
info:    Set working directory to "/home/hubcap"
error:   [terminate] Termination of system "overture_environment" failed
error:   [terminate] Termination of system "test.Root" failed
info:    0 warnings
info:    2 errors
stdout            | warning | The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.
info:    Result file: test_res.mat (bufferSize=10)

by diewald@…, 4 years ago

SSP - Overture 3.0.2 - OpenMOdelica v1.14.2 - Uninitialized

Note: See TracTickets for help on using tickets.