Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003955/0.003955, allocations: 350.6 kB / 15.95 MB, free: 6.219 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.73/3.73, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003687/0.003687, allocations: 229.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4686/0.4686, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08396/0.08446, allocations: 48.72 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003372/0.08789, allocations: 2.733 MB / 0.6094 GB, free: 1.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2651/0.3531, allocations: 0.7886 MB / 0.6102 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.3536, allocations: 9.969 kB / 0.6102 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3538, allocations: 43.94 kB / 0.6102 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.3546, allocations: 173.7 kB / 0.6104 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3552, allocations: 74.66 kB / 0.6105 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.3564, allocations: 0.5499 MB / 0.611 GB, free: 88.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.357, allocations: 133.5 kB / 0.6111 GB, free: 88.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.3575, allocations: 183.3 kB / 0.6113 GB, free: 88.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.358, allocations: 210.7 kB / 0.6115 GB, free: 88.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.3581, allocations: 26.59 kB / 0.6115 GB, free: 88.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3583, allocations: 24.09 kB / 0.6116 GB, free: 88.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3585, allocations: 75.56 kB / 0.6116 GB, free: 88.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.3588, allocations: 123.3 kB / 0.6117 GB, free: 88.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3599, allocations: 404.2 kB / 0.6121 GB, free: 88.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3599, allocations: 3.969 kB / 0.6121 GB, free: 88.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.36, allocations: 1.562 kB / 0.6121 GB, free: 88.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.36, allocations: 0 / 0.6121 GB, free: 88.23 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002046/0.362, allocations: 0.681 MB / 0.6128 GB, free: 87.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.3621, allocations: 9.438 kB / 0.6128 GB, free: 87.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.3623, allocations: 58.23 kB / 0.6129 GB, free: 87.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007185/0.3631, allocations: 317.7 kB / 0.6132 GB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.3632, allocations: 34.75 kB / 0.6132 GB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.3634, allocations: 57.22 kB / 0.6133 GB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.365, allocations: 432 kB / 0.6137 GB, free: 87.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.293e-05/0.3651, allocations: 17.36 kB / 0.6137 GB, free: 87.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.3652, allocations: 18.11 kB / 0.6137 GB, free: 87.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.3653, allocations: 10.75 kB / 0.6137 GB, free: 87.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.3666, allocations: 310.5 kB / 0.614 GB, free: 87.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.3705, allocations: 1.15 MB / 0.6151 GB, free: 86.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.3721, allocations: 493.7 kB / 0.6156 GB, free: 86.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/0.3729, allocations: 205.5 kB / 0.6158 GB, free: 86.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.3729, allocations: 7.578 kB / 0.6158 GB, free: 86.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.373, allocations: 43.16 kB / 0.6158 GB, free: 86.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 6.171e-06/0.373, allocations: 0 / 0.6158 GB, free: 86.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.0066/0.3796, allocations: 2.129 MB / 0.6179 GB, free: 85.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3797, allocations: 85.83 kB / 0.618 GB, free: 85.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.3802, allocations: 247.6 kB / 0.6182 GB, free: 85.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.3803, allocations: 39.7 kB / 0.6183 GB, free: 85.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3805, allocations: 214.1 kB / 0.6185 GB, free: 85.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.3809, allocations: 269 kB / 0.6187 GB, free: 85.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.3809, allocations: 15.12 kB / 0.6188 GB, free: 85.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3811, allocations: 359.2 kB / 0.6191 GB, free: 84.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.3818, allocations: 158 kB / 0.6192 GB, free: 84.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.3826, allocations: 272.9 kB / 0.6195 GB, free: 84.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.3834, allocations: 209.5 kB / 0.6197 GB, free: 84.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3834, allocations: 1.156 kB / 0.6197 GB, free: 84.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001885/0.3853, allocations: 0.5541 MB / 0.6202 GB, free: 84.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.3854, allocations: 6.422 kB / 0.6203 GB, free: 84.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3854, allocations: 4.375 kB / 0.6203 GB, free: 84.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.3854, allocations: 6.781 kB / 0.6203 GB, free: 84.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.3873, allocations: 179.4 kB / 0.6204 GB, free: 84.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.3873, allocations: 12.92 kB / 0.6204 GB, free: 84.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007812/0.3881, allocations: 24.58 kB / 0.6205 GB, free: 84.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.3882, allocations: 24.69 kB / 0.6205 GB, free: 84.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004512/0.3887, allocations: 180.1 kB / 0.6207 GB, free: 84.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.3889, allocations: 49.97 kB / 0.6207 GB, free: 84.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.3891, allocations: 55.73 kB / 0.6208 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.3892, allocations: 5.578 kB / 0.6208 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3892, allocations: 0.5156 kB / 0.6208 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3894, allocations: 114.3 kB / 0.6209 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.3895, allocations: 19.08 kB / 0.6209 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.3902, allocations: 21.25 kB / 0.6209 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3904, allocations: 45.16 kB / 0.621 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0032/0.3936, allocations: 0.7194 MB / 0.6217 GB, free: 84.15 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002527/0.3962, allocations: 0.9311 MB / 0.6226 GB, free: 83.61 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006863/0.3969, allocations: 201.8 kB / 0.6228 GB, free: 83.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00033/0.3973, allocations: 178.6 kB / 0.6229 GB, free: 83.43 MB / 362.7 MB Notification: Performance of Backend: time 1.203e-06/0.3973, allocations: 0 / 0.6229 GB, free: 83.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.3992, allocations: 388.1 kB / 0.6233 GB, free: 83.26 MB / 362.7 MB Notification: Performance of SimCode: time 0.006175/0.4054, allocations: 2.34 MB / 0.6256 GB, free: 81.63 MB / 362.7 MB Notification: Performance of Templates: time 0.02847/0.434, allocations: 5.33 MB / 0.6308 GB, free: 81.41 MB / 362.7 MB