python3 -m fmpy simulate --output-file URDFModelica_main_URDFModelica.Examples.Ur10e_robot.Ur10e_robotTest_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 URDFModelica_main_URDFModelica_Examples_Ur10e_robot_Ur10e_robotTest.fmu LOG_STDOUT | info | Using sparse solver for linear system 3, | | | | because density of 0.007 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 7, | | | | because density of 0.015 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 | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Elbow_joint.mo:39:3-39:88:writable] | | | | The following assertion has been violated at time 0.465137 | | | | ((not ur10e_robotRun.ur10e_robot.elbow_joint.torqueLimitHigh.y)) --> "Joint torque over high limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Wrist_1_joint.mo:40:3-40:86:writable] | | | | The following assertion has been violated at time 0.500000 | | | | ((not ur10e_robotRun.ur10e_robot.wrist_1_joint.torqueLimitLow.y)) --> "Joint torque over low limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Shoulder_lift_joint.mo:39:3-39:88:writable] | | | | The following assertion has been violated at time 0.550000 | | | | ((not ur10e_robotRun.ur10e_robot.shoulder_lift_joint.torqueLimitHigh.y)) --> "Joint torque over high limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Wrist_2_joint.mo:39:3-39:88:writable] | | | | The following assertion has been violated at time 0.650000 | | | | ((not ur10e_robotRun.ur10e_robot.wrist_2_joint.torqueLimitHigh.y)) --> "Joint torque over high limit" LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=1.06865412796942. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=1.06865412796942. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Shoulder_lift_joint.mo:40:3-40:86:writable] | | | | The following assertion has been violated at time 0.762566 | | | | ((not ur10e_robotRun.ur10e_robot.shoulder_lift_joint.torqueLimitLow.y)) --> "Joint torque over low limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Elbow_joint.mo:40:3-40:86:writable] | | | | The following assertion has been violated at time 0.762566 | | | | ((not ur10e_robotRun.ur10e_robot.elbow_joint.torqueLimitLow.y)) --> "Joint torque over low limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Wrist_1_joint.mo:39:3-39:88:writable] | | | | The following assertion has been violated at time 0.762566 | | | | ((not ur10e_robotRun.ur10e_robot.wrist_1_joint.torqueLimitHigh.y)) --> "Joint torque over high limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Shoulder_pan_joint.mo:40:3-40:86:writable] | | | | The following assertion has been violated at time 0.900000 | | | | ((not ur10e_robotRun.ur10e_robot.shoulder_pan_joint.torqueLimitLow.y)) --> "Joint torque over low limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Wrist_2_joint.mo:40:3-40:86:writable] | | | | The following assertion has been violated at time 0.900000 | | | | ((not ur10e_robotRun.ur10e_robot.wrist_2_joint.torqueLimitLow.y)) --> "Joint torque over low limit" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/URDFModelica main/Examples/Ur10e_robot/Joints/Shoulder_pan_joint.mo:39:3-39:88:writable] | | | | The following assertion has been violated at time 1.050000 | | | | ((not ur10e_robotRun.ur10e_robot.shoulder_pan_joint.torqueLimitHigh.y)) --> "Joint torque over high limit" LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=1.24466727110868. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=1.57233772990658. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=1.65022678319439. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=2.10877489544385. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 3039 failed at time=2.62992849797249. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 160, in g self.get_z(gout, self.nz) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 659, in getEventIndicators return self.fmi2GetEventIndicators(self.component, z, nz) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 600, in fmi2GetEventIndicators return self._call("fmi2GetEventIndicators", c, eventIndicators, ni) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: fmi2GetEventIndicators failed with status 3 (error). [ERROR][rank 0][/home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c:1556][CVode] At t = 2.62966866049127, the rootfinding routine failed in an unrecoverable manner. 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 1101, in simulateME state_event, roots_found, time = solver.step(time, next_communication_point) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 185, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -12) in module CVode, function /home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c: At t = 2.62966866049127, the rootfinding routine failed in an unrecoverable manner.