Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008666, allocations: 97.94 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.092e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6313, allocations: 126.3 MB / 0.6252 GB, free: 10.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.6316, allocations: 83.95 kB / 0.6253 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9612/1.593, allocations: 262.1 MB / 0.8813 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/1.593, allocations: 0 / 0.8813 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001712/1.595, allocations: 311.9 kB / 0.8816 GB, free: 25.07 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4241 * Number of variables: 4241 Notification: Performance of Generate backend data structure: time 0.06725/1.662, allocations: 15.56 MB / 0.8968 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.662, allocations: 15.97 kB / 0.8968 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01191/1.674, allocations: 2.156 MB / 0.8989 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5176/2.192, allocations: 16.85 MB / 0.9153 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05837/2.25, allocations: 20.71 MB / 0.9356 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/2.251, allocations: 1.006 MB / 0.9365 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006952/2.258, allocations: 1.389 MB / 0.9379 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07791/2.336, allocations: 29.08 MB / 0.9663 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001999/2.338, allocations: 170.9 kB / 0.9665 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00732/2.346, allocations: 0.6124 MB / 0.9671 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004396/2.35, allocations: 2.294 MB / 0.9693 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0598/2.41, allocations: 22.98 MB / 0.9917 GB, free: 36.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6108/3.021, allocations: 127.3 MB / 1.116 GB, free: 94.86 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04527/3.066, allocations: 14.64 MB / 1.13 GB, free: 94.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/3.079, allocations: 9.508 MB / 1.14 GB, free: 94.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/3.082, allocations: 2.109 MB / 1.142 GB, free: 93.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/3.082, allocations: 86.78 kB / 1.142 GB, free: 93 MB / 0.573 GB Notification: Performance of pre-optimization done (n=541): time 9.017e-06/3.082, allocations: 3 kB / 1.142 GB, free: 93 MB / 0.573 GB Notification: Performance of matching and sorting (n=744): time 0.3265/3.409, allocations: 99.41 MB / 1.239 GB, free: 76.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/3.409, allocations: 341.1 kB / 1.239 GB, free: 76.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02396/3.433, allocations: 9.502 MB / 1.248 GB, free: 68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002719/3.436, allocations: 150.6 kB / 1.249 GB, free: 67.85 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.008242/3.444, allocations: 8.572 MB / 1.257 GB, free: 60.17 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004929/3.449, allocations: 2.691 MB / 1.26 GB, free: 57.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00344/3.452, allocations: 288 kB / 1.26 GB, free: 57.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001868/3.454, allocations: 0.8914 MB / 1.261 GB, free: 56.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01353/3.468, allocations: 8.363 MB / 1.269 GB, free: 49.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01768/3.486, allocations: 15.12 MB / 1.284 GB, free: 32.28 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/3.504, allocations: 11.17 MB / 1.295 GB, free: 22.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003595/3.505, allocations: 64 kB / 1.295 GB, free: 22.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=1825) (initialization): time 0.07491/3.58, allocations: 32.59 MB / 1.327 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004019/3.58, allocations: 105.4 kB / 1.327 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005135/3.581, allocations: 232 kB / 1.327 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4643/4.045, allocations: 10.7 MB / 1.337 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01339/4.058, allocations: 3.17 MB / 1.34 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0782/4.137, allocations: 51.97 MB / 1.391 GB, free: 98.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/4.154, allocations: 0.9564 MB / 1.392 GB, free: 98.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00504/4.159, allocations: 0.7867 MB / 1.393 GB, free: 98.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1051 * Number of states: 0 () * Number of discrete variables: 160 (cyl4.color[3],cyl4.color[2],cyl4.color[1],cyl4.body.sphereColor[3],cyl4.body.sphereColor[2],cyl4.body.sphereColor[1],cyl3.color[3],cyl3.color[2],cyl3.color[1],cyl3.body.sphereColor[3],cyl3.body.sphereColor[2],cyl3.body.sphereColor[1],absoluteSensor_1D.arrow.arrowLine.twoHeadedArrow,absoluteSensor_1D.arrow.headAtOrigin,absoluteSensor_1D.arrowColor[3],absoluteSensor_1D.arrowColor[2],absoluteSensor_1D.arrowColor[1],absoluteSensor_MBS.arrow.arrowLine.twoHeadedArrow,absoluteSensor_MBS.arrow.headAtOrigin,absoluteSensor_MBS.arrowColor[3],absoluteSensor_MBS.arrowColor[2],absoluteSensor_MBS.arrowColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],fixedTranslation8.color[3],fixedTranslation8.color[2],fixedTranslation8.color[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],fixedTranslation7.color[3],fixedTranslation7.color[2],fixedTranslation7.color[1],bodyShape2.color[3],bodyShape2.color[2],bodyShape2.color[1],bodyShape2.body.sphereColor[3],bodyShape2.body.sphereColor[2],bodyShape2.body.sphereColor[1],bodyShape2.frameTranslation.color[3],bodyShape2.frameTranslation.color[2],bodyShape2.frameTranslation.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],freeMotion2.arrowColor[3],freeMotion2.arrowColor[2],freeMotion2.arrowColor[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],bodyShape1.color[3],bodyShape1.color[2],bodyShape1.color[1],bodyShape1.body.sphereColor[3],bodyShape1.body.sphereColor[2],bodyShape1.body.sphereColor[1],bodyShape1.frameTranslation.color[3],bodyShape1.frameTranslation.color[2],bodyShape1.frameTranslation.color[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],freeMotion1.arrowColor[3],freeMotion1.arrowColor[2],freeMotion1.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1575): * Single equations (assignments): 1567 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,78.0%) 102,(10,90.0%) 122} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008027/4.167, allocations: 1.174 MB / 1.394 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00567/4.173, allocations: 1.096 MB / 1.395 GB, free: 98.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08743/4.261, allocations: 25.68 MB / 1.42 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/4.261, allocations: 73.47 kB / 1.42 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001676/4.261, allocations: 45.47 kB / 1.42 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002085/4.261, allocations: 36.8 kB / 1.42 GB, free: 90.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1325/4.394, allocations: 51.37 MB / 1.47 GB, free: 69.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001251/4.394, allocations: 4 kB / 1.47 GB, free: 69.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007094/4.401, allocations: 1.157 MB / 1.472 GB, free: 69.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03043/4.431, allocations: 9.298 MB / 1.481 GB, free: 62.56 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003337/4.435, allocations: 146.3 kB / 1.481 GB, free: 62.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07993/4.515, allocations: 48.91 MB / 1.529 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/4.515, allocations: 10.02 kB / 1.529 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5848/5.1, allocations: 36.08 MB / 1.564 GB, free: 95.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005232/5.105, allocations: 1.059 MB / 1.565 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006075/5.111, allocations: 142.7 kB / 1.565 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/5.123, allocations: 0.5252 MB / 1.565 GB, free: 94.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004589/5.128, allocations: 0.5006 MB / 1.566 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002766/5.131, allocations: 181.7 kB / 1.566 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02225/5.153, allocations: 6.856 MB / 1.573 GB, free: 94.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.31e-07/5.153, allocations: 0 / 1.573 GB, free: 94.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02586/5.179, allocations: 3.778 MB / 1.577 GB, free: 94.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 32 (freeMotion1.r_rel_a[1],freeMotion1.r_rel_a[2],freeMotion1.r_rel_a[3],freeMotion1.v_rel_a[1],freeMotion1.v_rel_a[2],freeMotion1.v_rel_a[3],freeMotion1.phi[1],freeMotion1.phi[2],freeMotion1.phi[3],freeMotion1.phi_d[1],freeMotion1.phi_d[2],freeMotion1.phi_d[3],revolute1.phi,revolute1.w,gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,freeMotion2.r_rel_a[1],freeMotion2.r_rel_a[2],freeMotion2.r_rel_a[3],freeMotion2.v_rel_a[1],freeMotion2.v_rel_a[2],freeMotion2.v_rel_a[3],freeMotion2.phi[1],freeMotion2.phi[2],freeMotion2.phi[3],freeMotion2.phi_d[1],freeMotion2.phi_d[2],freeMotion2.phi_d[3],revolute2.phi,revolute2.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (544): * Single equations (assignments): 538 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,97.5%) 111,(12,66.0%) 86} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08245/5.261, allocations: 37.2 MB / 1.613 GB, free: 92.19 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:92:3-94:41:writable] Warning: Variable freeMotion1.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:92:3-94:41:writable] Warning: Variable freeMotion1.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:92:3-94:41:writable] Warning: Variable freeMotion2.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:92:3-94:41:writable] Warning: Variable freeMotion2.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.04464/5.306, allocations: 22.01 MB / 1.634 GB, free: 86.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/5.306, allocations: 0 / 1.634 GB, free: 86.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02288/5.329, allocations: 10.37 MB / 1.644 GB, free: 82.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/5.344, allocations: 1.789 MB / 1.646 GB, free: 81.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1206/5.465, allocations: 35.06 MB / 1.68 GB, free: 67.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02704/5.492, allocations: 9.808 MB / 1.69 GB, free: 60.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01646/5.509, allocations: 4.455 MB / 1.694 GB, free: 57.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01723/5.526, allocations: 7.155 MB / 1.701 GB, free: 50.52 MB / 0.5886 GB Notification: Performance of SimCode: time 2.565e-06/5.526, allocations: 0 / 1.701 GB, free: 50.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.478/7.003, allocations: 313.7 MB / 2.008 GB, free: 86.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/7.004, allocations: 186.8 kB / 2.008 GB, free: 86.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/22.56, allocations: 1.312 kB / 2.008 GB, free: 86.6 MB / 0.6355 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat does not exist to compare? outputFormat=mat