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.001644/0.001644, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009007/0.0009006, allocations: 94.98 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.773e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6615, allocations: 125.7 MB / 0.6175 GB, free: 2.578 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.6618, allocations: 83.95 kB / 0.6176 GB, free: 2.496 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.95/1.612, allocations: 256 MB / 0.8676 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.436e-06/1.612, allocations: 4 kB / 0.8676 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001221/1.613, allocations: 315.9 kB / 0.8679 GB, free: 11 MB / 0.4948 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.06882/1.682, allocations: 15.55 MB / 0.8831 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.865e-05/1.682, allocations: 11.98 kB / 0.8831 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4581/2.14, allocations: 16.86 MB / 0.8996 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06196/2.202, allocations: 20.69 MB / 0.9198 GB, free: 47.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008272/2.203, allocations: 441.4 kB / 0.9202 GB, free: 47.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00681/2.21, allocations: 0.8336 MB / 0.921 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03927/2.249, allocations: 17.65 MB / 0.9382 GB, free: 47.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/2.313, allocations: 25.28 MB / 0.9629 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001221/2.314, allocations: 173.7 kB / 0.9631 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005283/2.32, allocations: 63.17 kB / 0.9632 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004148/2.324, allocations: 2.297 MB / 0.9654 GB, free: 41.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1756/2.5, allocations: 124.2 MB / 1.087 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03169/2.531, allocations: 12.2 MB / 1.099 GB, free: 10.71 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01258/2.544, allocations: 9.346 MB / 1.108 GB, free: 2.164 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4124/2.956, allocations: 2.106 MB / 1.11 GB, free: 108.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/2.957, allocations: 90.45 kB / 1.11 GB, free: 108.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=541): time 8.676e-06/2.957, allocations: 0.6562 kB / 1.11 GB, free: 108.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=743): time 0.2522/3.209, allocations: 96.61 MB / 1.204 GB, free: 104.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/3.209, allocations: 345.3 kB / 1.205 GB, free: 103.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01659/3.226, allocations: 8.251 MB / 1.213 GB, free: 101.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002317/3.228, allocations: 25.7 kB / 1.213 GB, free: 101.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006442/3.234, allocations: 8.6 MB / 1.221 GB, free: 94.44 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004692/3.239, allocations: 2.589 MB / 1.224 GB, free: 92.45 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001772/3.241, allocations: 0 / 1.224 GB, free: 92.45 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0007504/3.242, allocations: 0.8953 MB / 1.224 GB, free: 91.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/3.253, allocations: 8.117 MB / 1.232 GB, free: 84.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01681/3.27, allocations: 14.81 MB / 1.247 GB, free: 68.24 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01667/3.286, allocations: 10.85 MB / 1.257 GB, free: 59.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002887/3.287, allocations: 67.03 kB / 1.257 GB, free: 59.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=1827) (initialization): time 0.07028/3.357, allocations: 30.88 MB / 1.288 GB, free: 35.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/3.357, allocations: 105.4 kB / 1.288 GB, free: 35.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/3.357, allocations: 232 kB / 1.288 GB, free: 34.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0296/3.387, allocations: 10.41 MB / 1.298 GB, free: 27.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/3.4, allocations: 3.197 MB / 1.301 GB, free: 24.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5186/3.919, allocations: 49.08 MB / 1.349 GB, free: 86.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/3.937, allocations: 0.6873 MB / 1.35 GB, free: 86.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003994/3.941, allocations: 0.7967 MB / 1.351 GB, free: 86.18 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1054 * 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 (1577): * Single equations (assignments): 1569 * 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 {(11,71.1%) 101,(21,56.0%) 111} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004649/3.946, allocations: 0.7818 MB / 1.351 GB, free: 85.97 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04844/3.994, allocations: 23.64 MB / 1.374 GB, free: 85.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004486/3.998, allocations: 1.036 MB / 1.376 GB, free: 85.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05567/4.054, allocations: 25.03 MB / 1.4 GB, free: 82.97 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/4.054, allocations: 74.41 kB / 1.4 GB, free: 82.97 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.06e-05/4.054, allocations: 43.31 kB / 1.4 GB, free: 82.97 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001779/4.055, allocations: 35.3 kB / 1.4 GB, free: 82.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09288/4.148, allocations: 48.89 MB / 1.448 GB, free: 65.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-05/4.148, allocations: 3.938 kB / 1.448 GB, free: 65.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006403/4.154, allocations: 1.163 MB / 1.449 GB, free: 65.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02673/4.181, allocations: 9.184 MB / 1.458 GB, free: 61.73 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002551/4.183, allocations: 36.14 kB / 1.458 GB, free: 61.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05967/4.243, allocations: 45.86 MB / 1.503 GB, free: 23.09 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/4.243, allocations: 6.906 kB / 1.503 GB, free: 23.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4732/4.716, allocations: 35.37 MB / 1.537 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/4.721, allocations: 0.9694 MB / 1.538 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006172/4.727, allocations: 19.94 kB / 1.538 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01324/4.74, allocations: 422.2 kB / 1.539 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00443/4.745, allocations: 0.4948 MB / 1.539 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002628/4.748, allocations: 185.4 kB / 1.539 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01865/4.766, allocations: 5.775 MB / 1.545 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.51e-07/4.766, allocations: 3.5 kB / 1.545 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0254/4.792, allocations: 3.337 MB / 1.548 GB, free: 101.4 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 (543): * Single equations (assignments): 537 * 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,(11,71.1%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07805/4.87, allocations: 36.43 MB / 1.584 GB, free: 99.03 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[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. Notification: Performance of simCode: created initialization part: time 0.03918/4.909, allocations: 21.6 MB / 1.605 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/4.909, allocations: 6.844 kB / 1.605 GB, free: 98.05 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02074/4.93, allocations: 10.18 MB / 1.615 GB, free: 96.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/4.943, allocations: 1.521 MB / 1.616 GB, free: 96.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08643/5.03, allocations: 34.25 MB / 1.65 GB, free: 84.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01912/5.049, allocations: 9.809 MB / 1.659 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01354/5.062, allocations: 4.377 MB / 1.664 GB, free: 77.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0114/5.074, allocations: 7.074 MB / 1.671 GB, free: 71.16 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/5.074, allocations: 8 kB / 1.671 GB, free: 71.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9199/5.994, allocations: 293.3 MB / 1.957 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/5.994, allocations: 145 kB / 1.957 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/21.09, allocations: 0 / 1.957 GB, free: 14.01 MB / 0.6198 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