(cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSR_OMSimulator-cs-euler.fmu) info: *** FMU Simulation Info *** - model : ModelicaTest.MultiBody.FourbarVariants.JointUSR (co-simulation) - fmiVersion: 2.0 - startTime : 0.000000 - stopTime : 2.000000 - tolerance : 1e-06 - stepSize : 0.00039984 info: Result file: ../ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSR_OMSimulator-cs-euler_res.mat (bufferSize=10) info: Parameter JointUSR.b2.frameTranslation.shapeType will not be stored in the result file, because the signal type is not supported info: Parameter JointUSR.b3.shapeType will not be stored in the result file, because the signal type is not supported info: Parameter JointUSR.jointUSR.rod1.rodShapeType will not be stored in the result file, because the signal type is not supported info: Parameter JointUSR.jointUSR.rod2.shapeType will not be stored in the result file, because the signal type is not supported info: Parameter JointUSR.world.label1 will not be stored in the result file, because the signal type is not supported info: Parameter JointUSR.world.label2 will not be stored in the result file, because the signal type is not supported LOG_ASSERT | info | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Internal/RevoluteWithLengthConstraint.mo:219:3-231:3:writable] | | | | The following assertion has been violated at time 0.143143 | | | | ((jointUSR.revolute.k1a > 1e-10), jointUSR.revolute.k1a=-8.868810131042363e-07) --> " | | | | 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. | | | | In most cases it is best that the joints outside of the JointXXX | | | | component are revolute and NOT prismatic joints. If this also | | | | lead to singular positions, it could be that this kinematic loop | | | | cannot be solved analytically. 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. | | | | " LOG_ASSERT | info | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Internal/RevoluteWithLengthConstraint.mo:219:3-231:3:writable] | | | | The following assertion has been violated at time 0.143143 | | | | ((jointUSR.revolute.k1a > 1e-10), jointUSR.revolute.k1a=-8.868810131042363e-07) --> " | | | | 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. | | | | In most cases it is best that the joints outside of the JointXXX | | | | component are revolute and NOT prismatic joints. If this also | | | | lead to singular positions, it could be that this kinematic loop | | | | cannot be solved analytically. 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. | | | | " LOG_ASSERT | info | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Internal/RevoluteWithLengthConstraint.mo:219:3-231:3:writable] | | | | The following assertion has been violated at time 0.143143 | | | | ((jointUSR.revolute.k1a > 1e-10), jointUSR.revolute.k1a=-8.868810131042363e-07) --> " | | | | 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. | | | | In most cases it is best that the joints outside of the JointXXX | | | | component are revolute and NOT prismatic joints. If this also | | | | lead to singular positions, it could be that this kinematic loop | | | | cannot be solved analytically. 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. | | | | " LOG_ASSERT | error | No event found, but assert was triggered. Throwing now! error: [fmi2logger] [fmi2Error] JointUSR/logStatusError: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Internal/RevoluteWithLengthConstraint.mo:219: The following assertion has been violated at time 0.143143 ((jointUSR.revolute.k1a > 1e-10), jointUSR.revolute.k1a=-8.868810131042363e-07) --> " 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. In most cases it is best that the joints outside of the JointXXX component are revolute and NOT prismatic joints. If this also lead to singular positions, it could be that this kinematic loop cannot be solved analytically. 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. error: [fmi2logger] [fmi2Error] JointUSR/logFmi2Call: internalEventUpdate: terminated by an assertion. error: [stepUntil] fmi2_doStep failed for FMU "JointUSR.root.JointUSR" LOG_ASSERT | info | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Internal/RevoluteWithLengthConstraint.mo:219:3-231:3:writable] | | | | The following assertion has been violated at time 0.143143 | | | | ((jointUSR.revolute.k1a > 1e-10), jointUSR.revolute.k1a=-8.868810131042363e-07) --> " | | | | 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. | | | | In most cases it is best that the joints outside of the JointXXX | | | | component are revolute and NOT prismatic joints. If this also | | | | lead to singular positions, it could be that this kinematic loop | | | | cannot be solved analytically. 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 "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/__main__.py", line 38, in sys.exit(main()) ~~~~^^ File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/cli.py", line 309, in main handler(args.model, args) ~~~~~~~^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/cli.py", line 176, in _runFMU fmu.simulate() ~~~~~~~~~~~~^^ File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/fmu.py", line 906, in simulate raise RuntimeError(f"Failed to simulate model: {status}") RuntimeError: Failed to simulate model: Status.error info: 0 warnings info: 3 errors