Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004096/0.004096, allocations: 365.3 kB / 15.96 MB, free: 6.18 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.942/3.942, allocations: 388.9 MB / 405.6 MB, free: 9.559 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003556/0.003555, allocations: 228.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5037/0.5037, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005519, allocations: 20 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09498, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.4287/0.5238, allocations: 57.56 MB / 0.7363 GB, free: 11.72 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03384/0.5577, allocations: 11.91 MB / 0.7479 GB, free: 9.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01369/0.5714, allocations: 268.2 kB / 0.7482 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.5822, allocations: 2.796 MB / 0.7509 GB, free: 9.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03195/0.6142, allocations: 9.486 MB / 0.7602 GB, free: 3.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005038/0.6193, allocations: 0.6249 MB / 0.7608 GB, free: 3.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009285/0.6287, allocations: 5.214 MB / 0.7659 GB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.6422, allocations: 6.008 MB / 0.7718 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.6466, allocations: 1.436 MB / 0.7732 GB, free: 10.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005708/0.6523, allocations: 2.29 MB / 0.7754 GB, free: 7.863 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.6536, allocations: 180 kB / 0.7756 GB, free: 7.688 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.6572, allocations: 0.8543 MB / 0.7764 GB, free: 6.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003868/0.6611, allocations: 1.979 MB / 0.7783 GB, free: 4.848 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.6634, allocations: 0.9985 MB / 0.7793 GB, free: 3.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.6753, allocations: 6.652 MB / 0.7858 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.6754, allocations: 0 / 0.7858 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.6754, allocations: 0 / 0.7858 GB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002993/0.6757, allocations: 0 / 0.7858 GB, free: 13.17 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03171/0.7074, allocations: 6.072 MB / 0.7917 GB, free: 7.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.7075, allocations: 15.95 kB / 0.7918 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.7225, allocations: 2.317 MB / 0.794 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008563/0.7311, allocations: 2.714 MB / 0.7967 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004122/0.7316, allocations: 303.8 kB / 0.797 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.7338, allocations: 411.7 kB / 0.7974 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04007/0.7739, allocations: 12.65 MB / 0.8097 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/0.7742, allocations: 47.59 kB / 0.8098 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/0.7763, allocations: 191.8 kB / 0.8099 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006235/0.7826, allocations: 2.148 MB / 0.812 GB, free: 1.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0404/0.823, allocations: 11.2 MB / 0.823 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/0.9261, allocations: 47.11 MB / 0.869 GB, free: 5.957 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03029/0.9564, allocations: 5.473 MB / 0.8743 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008275/0.9647, allocations: 3.41 MB / 0.8777 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/0.9674, allocations: 1.014 MB / 0.8786 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/0.9676, allocations: 59.81 kB / 0.8787 GB, free: 11.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 6.642e-06/0.9676, allocations: 0 / 0.8787 GB, free: 11.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=255): time 0.1836/1.151, allocations: 26.79 MB / 0.9049 GB, free: 0.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.151, allocations: 150.5 kB / 0.905 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3567/1.508, allocations: 4.474 MB / 0.9094 GB, free: 171.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009038/1.509, allocations: 61.8 kB / 0.9094 GB, free: 171.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003882/1.513, allocations: 3.523 MB / 0.9129 GB, free: 169.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002213/1.515, allocations: 0.9583 MB / 0.9138 GB, free: 168.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.516, allocations: 134.9 kB / 0.9139 GB, free: 168.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007468/1.517, allocations: 0.5931 MB / 0.9145 GB, free: 167.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009168/1.526, allocations: 3.063 MB / 0.9175 GB, free: 166.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/1.539, allocations: 6.991 MB / 0.9243 GB, free: 160.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.55, allocations: 4.513 MB / 0.9288 GB, free: 158.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/1.551, allocations: 45.88 kB / 0.9288 GB, free: 158.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.03191/1.582, allocations: 10.9 MB / 0.9394 GB, free: 154.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.583, allocations: 62.78 kB / 0.9395 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/1.583, allocations: 140.5 kB / 0.9396 GB, free: 154.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/1.588, allocations: 1.152 MB / 0.9408 GB, free: 154.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/1.6, allocations: 1.704 MB / 0.9424 GB, free: 154.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/1.612, allocations: 6.017 MB / 0.9483 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008852/1.621, allocations: 416.2 kB / 0.9487 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.623, allocations: 429.9 kB / 0.9491 GB, free: 149.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (854): * Single equations (assignments): 850 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006955/1.63, allocations: 2.425 MB / 0.9515 GB, free: 147.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.631, allocations: 406.8 kB / 0.9519 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.649, allocations: 5.693 MB / 0.9574 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.369e-05/1.649, allocations: 11.95 kB / 0.9574 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.649, allocations: 4 kB / 0.9574 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/1.652, allocations: 0.9094 MB / 0.9583 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.654, allocations: 47.98 kB / 0.9584 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00469/1.659, allocations: 175.8 kB / 0.9585 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/1.66, allocations: 161.7 kB / 0.9587 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02016/1.68, allocations: 6.12 MB / 0.9647 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01921/1.699, allocations: 8.682 MB / 0.9732 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005231/1.705, allocations: 2.37 MB / 0.9755 GB, free: 122.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00629/1.711, allocations: 2.799 MB / 0.9782 GB, free: 119.7 MB / 490.7 MB Notification: Performance of Backend: time 2.595e-06/1.711, allocations: 384 / 0.9782 GB, free: 119.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.73, allocations: 5.418 MB / 0.9835 GB, free: 114.3 MB / 490.7 MB Notification: Performance of SimCode: time 0.02903/1.759, allocations: 13 MB / 0.9962 GB, free: 101.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1498/1.909, allocations: 58.41 MB / 1.053 GB, free: 43.02 MB / 490.7 MB