python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 2.44619e-11. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=2.44618981121726e-11. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 6.11547e-12. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=6.11547452804316e-12. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 1.52887e-12. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=1.52886863201079e-12. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 3.82217e-13. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=3.82217158002697e-13. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 9.55543e-14. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=9.55542895006743e-14. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 2.38886e-14. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=2.38885723751686e-14. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 5.97214e-15. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=5.97214309379214e-15. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 1.49304e-15. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=1.49303577344804e-15. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 3.73259e-16. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=3.73258943362009e-16. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_STDOUT | warning | Error solving linear system of equations (no. 185) at time 0.000000. LOG_STDOUT | warning | Solving linear system 185 fails at time 9.33147e-17. For more information use -lv LOG_LS. LOG_ASSERT | debug | Solving linear system 185 failed at time=9.33147358405022e-17. | | | | For more information please use -lv LOG_LS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). 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 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -4) in module CVODE, function CVode: At t = 0 and h = 9.33147e-17, the corrector convergence test failed repeatedly or with |h| = hmin.