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

OM fails to run with compilation errors, Dymola runs fine

OM fails to run with compilation errors, Dymola runs fine

In order to disseminate our physiological model to the community, it is necessary to run it in open tools, such as OpenModelica. I am trying to make that happen, but fail so far. I have discovered some OM bugs and workarounds, but now I do not know what is happening and why.

The simulation just fails with these transaltion errors in message browser:


[156] 14:58:27 Translation Error
Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information.

[157] 14:58:27 Translation Error
Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!

[158] 14:58:27 Translation Error
[C:/OM116/OM64bit/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo: 2135:10-2135:88]: Internal error function optimizeJacobianMatrix failed

[159] 14:58:27 Translation Error
[C:/OM116/OM64bit/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo: 2052:9-2052:79]: Internal error function createJacobian failed


and this output from simulation output window:

Fatal error on line 23, column 10: tag mismatch
Error solving nonlinear system 10906 at time 3.88943e-006
nonlinear system 10906 fails: at t=3.88943e-006
[1] Real heartComponent.ventricles.xm_SEP(start=2.90348, nominal=1)
[2] Real heartComponent.ventricles.xm_LV(start=-4.6627, nominal=1)
[3] Real heartComponent.ventricles.xm_RV(start=6.26344, nominal=1)
The initialization finished successfully without homotopy method.
Jacobian determinant is NaN.
Jacobian determinant is NaN.
Jacobian determinant is NaN.
Error solving nonlinear system 10906 at time 3.88943e-006
Jacobian determinant is NaN.
Jacobian determinant is NaN.
Jacobian determinant is NaN.

Dymola runs fine.

One needs the dev Physiolibrary version: https://github.com/filip-jezek/Physioli … teadyState and the model ADAN_main.SystemicTree.CVS_OM from https://github.com/filip-jezek/Valsalva or grab the total saved here
CVS-OMTotal.mo


Thanks for any nudges or workarounds.

Filip Jezek

Edited by: jez - Nov-24-20 14:13:51
Attachments:
There are 0 guests and 0 other users also viewing this topic
You are here: