Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002606/0.002612, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.234/3.234, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003489/0.003489, allocations: 212.8 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4659/0.4659, allocations: 76.1 MB / 0.5014 GB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008912/0.0008916, allocations: 16 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08392, allocations: 48.7 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3401/0.4241, allocations: 43.62 MB / 0.6493 GB, free: 11.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.45, allocations: 9.39 MB / 0.6585 GB, free: 10.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009872/0.4599, allocations: 201.9 kB / 0.6587 GB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008434/0.4684, allocations: 2.091 MB / 0.6607 GB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02552/0.494, allocations: 7.267 MB / 0.6678 GB, free: 7.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.4981, allocations: 0.5261 MB / 0.6684 GB, free: 7.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007663/0.5058, allocations: 4.391 MB / 0.6726 GB, free: 5.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.5162, allocations: 4.504 MB / 0.677 GB, free: 4.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.5195, allocations: 1.198 MB / 0.6782 GB, free: 4.148 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004392/0.524, allocations: 1.935 MB / 0.6801 GB, free: 3.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.5252, allocations: 141.9 kB / 0.6802 GB, free: 3.496 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.5288, allocations: 0.8299 MB / 0.681 GB, free: 3.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.5318, allocations: 1.664 MB / 0.6827 GB, free: 2.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.5338, allocations: 0.8297 MB / 0.6835 GB, free: 2.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009265/0.5431, allocations: 5.537 MB / 0.6889 GB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5431, allocations: 8 kB / 0.6889 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5432, allocations: 0 / 0.6889 GB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.5434, allocations: 0 / 0.6889 GB, free: 13.45 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02665/0.5701, allocations: 4.968 MB / 0.6937 GB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/0.5702, allocations: 8.031 kB / 0.6938 GB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.5851, allocations: 2.223 MB / 0.6959 GB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00706/0.5922, allocations: 2.292 MB / 0.6982 GB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.5926, allocations: 248.5 kB / 0.6984 GB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001885/0.5945, allocations: 314.5 kB / 0.6987 GB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.6251, allocations: 10.38 MB / 0.7088 GB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.6254, allocations: 39.59 kB / 0.7089 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/0.6261, allocations: 154.9 kB / 0.709 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005194/0.6313, allocations: 1.864 MB / 0.7108 GB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0302/0.6615, allocations: 8.981 MB / 0.7196 GB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07269/0.7343, allocations: 38.69 MB / 0.7574 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/0.755, allocations: 3.696 MB / 0.761 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/0.7597, allocations: 1.864 MB / 0.7628 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.7714, allocations: 4.65 MB / 0.7674 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.129e-05/0.7716, allocations: 51.52 kB / 0.7674 GB, free: 14.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 6.292e-06/0.7716, allocations: 0 / 0.7674 GB, free: 14.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.05121/0.8228, allocations: 12.42 MB / 0.7795 GB, free: 2.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.8229, allocations: 149.5 kB / 0.7797 GB, free: 2.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008287/0.8312, allocations: 4.046 MB / 0.7836 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/0.8317, allocations: 45.7 kB / 0.7837 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003312/0.835, allocations: 3.129 MB / 0.7867 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.8361, allocations: 0.5919 MB / 0.7873 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.8366, allocations: 112 kB / 0.7874 GB, free: 10.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004692/0.8371, allocations: 0.5536 MB / 0.788 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0058/0.8429, allocations: 1.971 MB / 0.7899 GB, free: 7.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009118/0.8521, allocations: 5.644 MB / 0.7954 GB, free: 264 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008332/0.8605, allocations: 3.253 MB / 0.7986 GB, free: 13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.8606, allocations: 39.94 kB / 0.7986 GB, free: 12.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02456/0.8852, allocations: 8.103 MB / 0.8065 GB, free: 4.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.8854, allocations: 63.98 kB / 0.8066 GB, free: 4.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/0.8856, allocations: 132 kB / 0.8067 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00449/0.8901, allocations: 0.9193 MB / 0.8076 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008092/0.8982, allocations: 1.35 MB / 0.8089 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3467/1.245, allocations: 4.852 MB / 0.8137 GB, free: 149.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005957/1.251, allocations: 323.2 kB / 0.814 GB, free: 149.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.252, allocations: 362.2 kB / 0.8143 GB, free: 149.8 MB / 442.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.005385/1.258, allocations: 2.08 MB / 0.8164 GB, free: 149.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008606/1.258, allocations: 339.8 kB / 0.8167 GB, free: 149.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.269, allocations: 2.939 MB / 0.8195 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/1.269, allocations: 8.109 kB / 0.8196 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.269, allocations: 0 / 0.8196 GB, free: 148.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.271, allocations: 0.616 MB / 0.8202 GB, free: 148.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009235/1.272, allocations: 22.42 kB / 0.8202 GB, free: 148.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/1.274, allocations: 95.03 kB / 0.8203 GB, free: 148.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000428/1.275, allocations: 96.86 kB / 0.8204 GB, free: 148.3 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01071/1.285, allocations: 3.363 MB / 0.8236 GB, free: 147.1 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01048/1.296, allocations: 4.525 MB / 0.8281 GB, free: 145.3 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002554/1.299, allocations: 1.148 MB / 0.8292 GB, free: 144.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005447/1.304, allocations: 2.527 MB / 0.8317 GB, free: 144.1 MB / 442.7 MB Notification: Performance of Backend: time 1.403e-06/1.304, allocations: 2.094 kB / 0.8317 GB, free: 144.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/1.317, allocations: 3.911 MB / 0.8355 GB, free: 142.8 MB / 442.7 MB Notification: Performance of SimCode: time 0.02843/1.345, allocations: 10.67 MB / 0.8459 GB, free: 137 MB / 442.7 MB Notification: Performance of Templates: time 0.1397/1.485, allocations: 40.35 MB / 0.8853 GB, free: 97.54 MB / 442.7 MB