python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder_res.csv --start-time 0 --stop-time 1e-06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.001e-09 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder.fmu LOG_STDOUT | info | Using sparse solver for linear system 0, | | | | because density of 0.002 remains under threshold of 0.200 | | | | and size of 1394 exceeds threshold of 1000. 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 19, | | | | because density of 0.002 remains under threshold of 0.200 | | | | and size of 1394 exceeds threshold of 1000. 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 and the minimal system size for using sparse solvers can be | | | | specified using the runtime flags '<-lssMaxDensity=value>' and '<-lssMinSize=value>'. LOG_ASSERT | debug | division by zero at time 0, (a=-0.03846153846153846) / (b=0), where divisor b expression is: X1.X1.X1.X2.Q4.cc.capbx 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 933, in simulateME fmu.exitInitializationMode() File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 280, in exitInitializationMode return self.fmi2ExitInitializationMode(self.component) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2ExitInitializationMode failed with status 3 (error).