python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000178005 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6.fmu LOG_STDOUT | info | Using sparse solver for linear system 6, | | | | because density of 0.004 remains under threshold of 0.200. LOG_STDOUT | info | The simulation runtime does not have access to sparse solvers. Defaulting to a dense linear system solver instead. LOG_STDOUT | info | Using sparse solver for linear system 13, | | | | because density of 0.005 remains under threshold of 0.200. LOG_STDOUT | info | The simulation runtime does not have access to sparse solvers. Defaulting to a dense linear system solver instead. LOG_STDOUT | info | The maximum density for using sparse solvers can be specified | | | | using the runtime flag '<-lssMaxDensity=value>'. LOG_ASSERT | error | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Examples/Loops/Utilities/GasForce2.mo:45:3-48:48:writable] | | | | The following assertion has been violated at time 0.268076 | | | | ((cylinder4.gasForce.s_rel <= cylinder4.gasForce.L + 1e-12)) --> " flange_b.s - flange_a.s (= 0.61993791480203) <= L (= 0.22) required for GasForce2 component. | | | | Most likely, parameter L is not correct." Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/cli.py", line 186, in main result = simulate_fmu(args.fmu_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 788, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 1115, in simulateME step_event, terminate_simulation = fmu.completedIntegratorStep() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 637, in completedIntegratorStep self.fmi2CompletedIntegratorStep( File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 572, in fmi2CompletedIntegratorStep return self._call( ^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2CompletedIntegratorStep failed with status 3 (error).