Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.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.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002649/0.002655, allocations: 371.1 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.108/4.108, allocations: 388.9 MB / 405.6 MB, free: 47.95 MB / 234.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: 236.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8452/0.8452, allocations: 80 MB / 0.5627 GB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005309/0.0005313, allocations: 12 kB / 0.6265 GB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 54.89 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004781/0.1427, allocations: 2.749 MB / 0.6828 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.145, allocations: 0.7844 MB / 0.6836 GB, free: 10.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.1454, allocations: 11.94 kB / 0.6836 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.1455, allocations: 51.61 kB / 0.6836 GB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.1461, allocations: 162.7 kB / 0.6838 GB, free: 10.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1464, allocations: 75.92 kB / 0.6839 GB, free: 9.957 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.1473, allocations: 0.552 MB / 0.6844 GB, free: 9.402 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.1477, allocations: 136.6 kB / 0.6845 GB, free: 9.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.148, allocations: 179.3 kB / 0.6847 GB, free: 9.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.1484, allocations: 211.1 kB / 0.6849 GB, free: 8.883 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.844e-05/0.1485, allocations: 24 kB / 0.6849 GB, free: 8.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1486, allocations: 24 kB / 0.6849 GB, free: 8.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1488, allocations: 79.62 kB / 0.685 GB, free: 8.758 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1489, allocations: 117.5 kB / 0.6851 GB, free: 8.637 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.1496, allocations: 406.8 kB / 0.6855 GB, free: 8.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1496, allocations: 4 kB / 0.6855 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1496, allocations: 0 / 0.6855 GB, free: 8.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1496, allocations: 0 / 0.6855 GB, free: 8.234 MB / 394.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.001543/0.1512, allocations: 0.682 MB / 0.6862 GB, free: 7.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1512, allocations: 8.031 kB / 0.6862 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.1514, allocations: 55.34 kB / 0.6862 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.1519, allocations: 313.3 kB / 0.6865 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.152, allocations: 32.95 kB / 0.6866 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1521, allocations: 59.91 kB / 0.6866 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1532, allocations: 434.5 kB / 0.687 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.1533, allocations: 7.906 kB / 0.6871 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.1534, allocations: 24 kB / 0.6871 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.1534, allocations: 12 kB / 0.6871 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.1542, allocations: 308.5 kB / 0.6874 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.1569, allocations: 1.157 MB / 0.6885 GB, free: 5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.1581, allocations: 492.8 kB / 0.689 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.1587, allocations: 207 kB / 0.6892 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1587, allocations: 4.438 kB / 0.6892 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1588, allocations: 39 kB / 0.6892 GB, free: 4.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 6.873e-06/0.1588, allocations: 4.031 kB / 0.6892 GB, free: 4.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.006316/0.1651, allocations: 2.132 MB / 0.6913 GB, free: 1.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.1652, allocations: 93.67 kB / 0.6914 GB, free: 1.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.1656, allocations: 243 kB / 0.6916 GB, free: 1.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.1657, allocations: 37.7 kB / 0.6917 GB, free: 1.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1659, allocations: 216.9 kB / 0.6919 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.1662, allocations: 272 kB / 0.6921 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1662, allocations: 15.94 kB / 0.6921 GB, free: 1.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1665, allocations: 358.8 kB / 0.6925 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.1669, allocations: 149.9 kB / 0.6926 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.1675, allocations: 276.9 kB / 0.6929 GB, free: 208 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.168, allocations: 207.1 kB / 0.6931 GB, free: 0 / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.168, allocations: 192 / 0.6931 GB, free: 0 / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.3051/0.4732, allocations: 0.5538 MB / 0.6936 GB, free: 80.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4733, allocations: 8.953 kB / 0.6936 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4733, allocations: 4.938 kB / 0.6936 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.4733, allocations: 5.844 kB / 0.6937 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.4745, allocations: 182.1 kB / 0.6938 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.4745, allocations: 7.141 kB / 0.6938 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.475, allocations: 24.92 kB / 0.6939 GB, free: 80.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.4751, allocations: 27.62 kB / 0.6939 GB, free: 80.36 MB / 394.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.0002587/0.4754, allocations: 188.4 kB / 0.6941 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4755, allocations: 44.12 kB / 0.6941 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.4756, allocations: 53.27 kB / 0.6942 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4756, allocations: 6.031 kB / 0.6942 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.4757, allocations: 0 / 0.6942 GB, free: 80.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.4758, allocations: 120.2 kB / 0.6943 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.4759, allocations: 10.84 kB / 0.6943 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.4763, allocations: 17.78 kB / 0.6943 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.4764, allocations: 40.2 kB / 0.6943 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00192/0.4783, allocations: 0.7141 MB / 0.695 GB, free: 79.95 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001599/0.48, allocations: 0.9296 MB / 0.6959 GB, free: 79.65 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004826/0.4805, allocations: 207.6 kB / 0.6961 GB, free: 79.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4807, allocations: 177.6 kB / 0.6963 GB, free: 79.57 MB / 394.7 MB Notification: Performance of Backend: time 6.91e-07/0.4807, allocations: 2.875 kB / 0.6963 GB, free: 79.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.482, allocations: 390.3 kB / 0.6967 GB, free: 79.48 MB / 394.7 MB Notification: Performance of SimCode: time 0.003979/0.486, allocations: 2.337 MB / 0.699 GB, free: 78 MB / 394.7 MB Notification: Performance of Templates: time 0.01597/0.502, allocations: 5.336 MB / 0.7042 GB, free: 77.78 MB / 394.7 MB