python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu LOG_ASSERT | error | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:8182:7-8193:3:writable] | | | | The following assertion has been violated at time 3.035200 | | | | ((noEvent(jointUSP.prismatic.k1a > 1e-10))) --> " | | | | Singular position of loop (either no or two analytic solutions; | | | | the mechanism has lost one-degree-of freedom in this position). | | | | Try first to use another Modelica.Mechanics.MultiBody.Joints.Assemblies.JointXXX component. | | | | If this also lead to singular positions, it could be that this | | | | kinematic loop cannot be solved analytically with a fixed state | | | | selection. In this case you have to build up the loop with | | | | basic joints (NO aggregation JointXXX components) and rely on | | | | dynamic state selection, i.e., during simulation the states will | | | | be dynamically selected in such a way that in no position a | | | | degree of freedom is lost. | | | | " Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 759, 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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1076, in simulateME step_event, _ = fmu.completedIntegratorStep() File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 491, in completedIntegratorStep self.fmi2CompletedIntegratorStep(self.component, noSetFMUStatePriorToCurrentPoint, byref(enterEventMode), byref(terminateSimulation)) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2CompletedIntegratorStep failed with status 3 (error).