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.001734/0.001734, allocations: 179.8 kB / 17.06 MB, free: 5.094 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.469/1.469, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 96.97 kB / 292.1 MB, free: 10.91 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.3687/0.3687, allocations: 44.22 MB / 387.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003409, allocations: 8 kB / 460 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3763, allocations: 61.9 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5399, allocations: 126.4 MB / 0.6331 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5403, allocations: 95.91 kB / 0.6332 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491/2.032, allocations: 261.9 MB / 0.889 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.418e-06/2.032, allocations: 0 / 0.889 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001567/2.033, allocations: 310.8 kB / 0.8893 GB, free: 31.11 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.06905/2.102, allocations: 17.18 MB / 0.906 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/2.102, allocations: 7.25 kB / 0.906 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01157/2.114, allocations: 2.161 MB / 0.9082 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0699/2.184, allocations: 16.84 MB / 0.9246 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05308/2.237, allocations: 20.8 MB / 0.9449 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/2.238, allocations: 1.012 MB / 0.9459 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007217/2.245, allocations: 1.389 MB / 0.9473 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07085/2.316, allocations: 29.34 MB / 0.9759 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001266/2.318, allocations: 172.9 kB / 0.9761 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006538/2.324, allocations: 0.6054 MB / 0.9767 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/2.328, allocations: 2.297 MB / 0.9789 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06868/2.397, allocations: 23.35 MB / 1.002 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5704/2.967, allocations: 127.8 MB / 1.127 GB, free: 27.19 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04544/3.013, allocations: 14.76 MB / 1.141 GB, free: 27.11 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003526/3.016, allocations: 2.113 MB / 1.143 GB, free: 25.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.789e-05/3.017, allocations: 87.47 kB / 1.143 GB, free: 25.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=541): time 8.025e-06/3.017, allocations: 3.531 kB / 1.143 GB, free: 25.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=744): time 0.5869/3.604, allocations: 131.8 MB / 1.272 GB, free: 14.75 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002694/3.604, allocations: 338.8 kB / 1.272 GB, free: 14.36 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02125/3.625, allocations: 9.613 MB / 1.282 GB, free: 6.461 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001957/3.627, allocations: 141.7 kB / 1.282 GB, free: 6.316 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.009155/3.636, allocations: 8.575 MB / 1.29 GB, free: 15.12 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00519/3.641, allocations: 2.684 MB / 1.293 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/3.644, allocations: 284 kB / 1.293 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001092/3.645, allocations: 0.8968 MB / 1.294 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01595/3.661, allocations: 8.527 MB / 1.302 GB, free: 4.453 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03656/3.698, allocations: 16.38 MB / 1.318 GB, free: 6.312 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3983/4.096, allocations: 11.34 MB / 1.329 GB, free: 117.8 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001782/4.096, allocations: 64.91 kB / 1.329 GB, free: 117.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1825) (initialization): time 0.08346/4.18, allocations: 32.9 MB / 1.361 GB, free: 117.2 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/4.18, allocations: 104.8 kB / 1.361 GB, free: 117.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007217/4.181, allocations: 238.2 kB / 1.362 GB, free: 117.2 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03326/4.214, allocations: 10.43 MB / 1.372 GB, free: 117.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/4.227, allocations: 3.173 MB / 1.375 GB, free: 116.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07638/4.304, allocations: 54.14 MB / 1.428 GB, free: 106.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0172/4.321, allocations: 0.9504 MB / 1.429 GB, free: 105.9 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0044/4.326, allocations: 0.791 MB / 1.43 GB, free: 105.8 MB / 0.6199 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 () * Number of clocked 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.0179/4.344, allocations: 5.974 MB / 1.435 GB, free: 103.2 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00447/4.348, allocations: 1.104 MB / 1.436 GB, free: 103.2 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05132/4.399, allocations: 25.88 MB / 1.462 GB, free: 94.25 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001264/4.4, allocations: 70.31 kB / 1.462 GB, free: 94.25 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001195/4.4, allocations: 46.78 kB / 1.462 GB, free: 94.25 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001887/4.4, allocations: 34.45 kB / 1.462 GB, free: 94.25 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1086/4.508, allocations: 51.59 MB / 1.512 GB, free: 57.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.941e-05/4.509, allocations: 4 kB / 1.512 GB, free: 57.77 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006344/4.515, allocations: 1.156 MB / 1.513 GB, free: 56.85 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02731/4.542, allocations: 9.368 MB / 1.523 GB, free: 50.32 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002841/4.545, allocations: 145.5 kB / 1.523 GB, free: 50.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5113/5.057, allocations: 51.3 MB / 1.573 GB, free: 110.9 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/5.057, allocations: 2.969 kB / 1.573 GB, free: 110.9 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07451/5.131, allocations: 36.4 MB / 1.608 GB, free: 109.2 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004923/5.136, allocations: 1.064 MB / 1.609 GB, free: 109.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006488/5.143, allocations: 144.5 kB / 1.61 GB, free: 109.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/5.153, allocations: 0.5254 MB / 1.61 GB, free: 109.1 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003626/5.157, allocations: 0.4983 MB / 1.611 GB, free: 109.1 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002074/5.159, allocations: 183.3 kB / 1.611 GB, free: 109.1 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.01991/5.179, allocations: 6.957 MB / 1.617 GB, free: 108.7 MB / 0.6199 GB Notification: Performance of sort global known variables: time 8.91e-07/5.179, allocations: 0 / 1.617 GB, free: 108.7 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.02468/5.203, allocations: 3.779 MB / 1.621 GB, free: 108.7 MB / 0.6199 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 () * Number of clocked 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 {(12,88.9%) 108,(11,71.1%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0765/5.28, allocations: 37.52 MB / 1.658 GB, free: 94.52 MB / 0.6199 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 can't be selected as a state. [/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 can't be selected as a state. [/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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.04412/5.324, allocations: 22.35 MB / 1.68 GB, free: 86.48 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/5.324, allocations: 2.875 kB / 1.68 GB, free: 86.48 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.02312/5.347, allocations: 10.62 MB / 1.69 GB, free: 82.12 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01576/5.363, allocations: 1.79 MB / 1.692 GB, free: 81.01 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8005/6.164, allocations: 324.4 MB / 2.009 GB, free: 20.26 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02847/6.192, allocations: 9.81 MB / 2.018 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.01986/6.212, allocations: 4.458 MB / 2.022 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0186/6.231, allocations: 7.146 MB / 2.029 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of SimCode: time 7.875e-06/6.231, allocations: 0 / 2.029 GB, free: 19.07 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/7.582, allocations: 314.1 MB / 2.336 GB, free: 149.6 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/7.582, allocations: 207.8 kB / 2.336 GB, free: 149.4 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/22.45, allocations: 1.906 kB / 2.336 GB, free: 149.4 MB / 0.7293 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