Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00404/0.00404, allocations: 370.5 kB / 15.96 MB, free: 6.199 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 4.062/4.062, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.006257/0.006256, allocations: 239.1 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.574/0.574, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006504, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1025, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3655/0.4681, allocations: 43.64 MB / 0.7227 GB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02682/0.495, allocations: 9.422 MB / 0.7319 GB, free: 11.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01022/0.5052, allocations: 198.6 kB / 0.7321 GB, free: 11.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008038/0.5133, allocations: 2.1 MB / 0.7342 GB, free: 11.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0268/0.5402, allocations: 7.265 MB / 0.7413 GB, free: 8.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.5442, allocations: 0.5149 MB / 0.7418 GB, free: 8.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007902/0.5521, allocations: 4.388 MB / 0.746 GB, free: 7.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009313/0.5615, allocations: 4.506 MB / 0.7504 GB, free: 5.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.5653, allocations: 1.195 MB / 0.7516 GB, free: 5.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.5702, allocations: 1.935 MB / 0.7535 GB, free: 4.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.5716, allocations: 142.2 kB / 0.7536 GB, free: 4.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.5754, allocations: 0.8288 MB / 0.7544 GB, free: 4.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.5788, allocations: 1.657 MB / 0.7561 GB, free: 3.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.5807, allocations: 0.8352 MB / 0.7569 GB, free: 3.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.5894, allocations: 5.54 MB / 0.7623 GB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.5895, allocations: 4 kB / 0.7623 GB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5895, allocations: 0 / 0.7623 GB, free: 244 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002852/0.5898, allocations: 0 / 0.7623 GB, free: 244 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02687/0.6167, allocations: 4.964 MB / 0.7671 GB, free: 11.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.6168, allocations: 8.031 kB / 0.7671 GB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.6315, allocations: 2.228 MB / 0.7693 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007639/0.6392, allocations: 2.288 MB / 0.7716 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.6396, allocations: 237 kB / 0.7718 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.6416, allocations: 327.3 kB / 0.7721 GB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/0.6799, allocations: 10.39 MB / 0.7822 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000214/0.6802, allocations: 35.69 kB / 0.7823 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.6817, allocations: 149.2 kB / 0.7824 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00573/0.6874, allocations: 1.875 MB / 0.7842 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03186/0.7193, allocations: 8.985 MB / 0.793 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08896/0.8084, allocations: 38.69 MB / 0.8308 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05382/0.8622, allocations: 3.685 MB / 0.8344 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009638/0.8719, allocations: 1.873 MB / 0.8362 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01615/0.8882, allocations: 4.643 MB / 0.8408 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/0.8883, allocations: 59.44 kB / 0.8408 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 6.752e-06/0.8883, allocations: 0 / 0.8408 GB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.06229/0.9506, allocations: 12.42 MB / 0.8529 GB, free: 3.395 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.9508, allocations: 141.5 kB / 0.8531 GB, free: 3.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009986/0.9608, allocations: 4.045 MB / 0.857 GB, free: 15.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004482/0.9613, allocations: 48.36 kB / 0.8571 GB, free: 15.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003858/0.9652, allocations: 3.12 MB / 0.8601 GB, free: 12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.9664, allocations: 0.5976 MB / 0.8607 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007459/0.9672, allocations: 116 kB / 0.8608 GB, free: 11.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005981/0.9678, allocations: 0.542 MB / 0.8613 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00601/0.9738, allocations: 1.971 MB / 0.8633 GB, free: 8.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/0.9839, allocations: 5.648 MB / 0.8688 GB, free: 1.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008662/0.9926, allocations: 3.257 MB / 0.872 GB, free: 14.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.9928, allocations: 36 kB / 0.872 GB, free: 13.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02603/1.019, allocations: 8.1 MB / 0.8799 GB, free: 5.867 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.019, allocations: 60 kB / 0.88 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/1.019, allocations: 135.9 kB / 0.8801 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/1.024, allocations: 0.922 MB / 0.881 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008707/1.033, allocations: 1.341 MB / 0.8823 GB, free: 3.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.045, allocations: 4.862 MB / 0.8871 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006259/1.051, allocations: 315.7 kB / 0.8874 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.052, allocations: 376.6 kB / 0.8877 GB, free: 13.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (713): * Single equations (assignments): 709 * 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.006174/1.059, allocations: 2.07 MB / 0.8897 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009755/1.06, allocations: 335.6 kB / 0.8901 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.071, allocations: 2.941 MB / 0.8929 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.333e-05/1.071, allocations: 7.969 kB / 0.8929 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.071, allocations: 0 / 0.8929 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/1.074, allocations: 0.6097 MB / 0.8935 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/1.076, allocations: 31.89 kB / 0.8936 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004886/1.081, allocations: 95.88 kB / 0.8937 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/1.082, allocations: 96.8 kB / 0.8938 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01865/1.101, allocations: 3.367 MB / 0.897 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3492/1.45, allocations: 4.515 MB / 0.9014 GB, free: 165 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003404/1.453, allocations: 1.154 MB / 0.9026 GB, free: 165 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007216/1.461, allocations: 2.521 MB / 0.905 GB, free: 164.8 MB / 490.7 MB Notification: Performance of Backend: time 1.172e-06/1.461, allocations: 0 / 0.905 GB, free: 164.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01397/1.475, allocations: 3.904 MB / 0.9088 GB, free: 163.6 MB / 490.7 MB Notification: Performance of SimCode: time 0.02643/1.501, allocations: 10.65 MB / 0.9193 GB, free: 158.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1168/1.618, allocations: 40.36 MB / 0.9587 GB, free: 131.9 MB / 490.7 MB