Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002589/0.002593, allocations: 352.9 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.464/3.464, allocations: 341.5 MB / 358.2 MB, free: 28.75 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.003623/0.003623, allocations: 219 kB / 397.9 MB, free: 6.152 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.616/0.616, allocations: 76.1 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000717/0.0007173, allocations: 16 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1133, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004654/0.118, allocations: 2.539 MB / 0.6092 GB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1196, allocations: 402.5 kB / 0.6096 GB, free: 8.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.12, allocations: 11.94 kB / 0.6096 GB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1202, allocations: 55.56 kB / 0.6097 GB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.1208, allocations: 134.8 kB / 0.6098 GB, free: 8.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.1212, allocations: 75.92 kB / 0.6099 GB, free: 8.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.1221, allocations: 0.4975 MB / 0.6104 GB, free: 7.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.1225, allocations: 129.1 kB / 0.6105 GB, free: 7.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1229, allocations: 167.3 kB / 0.6106 GB, free: 7.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.1233, allocations: 191.2 kB / 0.6108 GB, free: 7.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.271e-05/0.1234, allocations: 24 kB / 0.6108 GB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1235, allocations: 24 kB / 0.6109 GB, free: 7.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.1236, allocations: 79.69 kB / 0.6109 GB, free: 7.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1238, allocations: 117.5 kB / 0.6111 GB, free: 7.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.1244, allocations: 387.1 kB / 0.6114 GB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1245, allocations: 0 / 0.6114 GB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1245, allocations: 0 / 0.6114 GB, free: 6.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1245, allocations: 4 kB / 0.6114 GB, free: 6.699 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001586/0.1261, allocations: 0.6431 MB / 0.6121 GB, free: 6.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.1262, allocations: 8.031 kB / 0.6121 GB, free: 6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1264, allocations: 51.44 kB / 0.6121 GB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.1269, allocations: 282.3 kB / 0.6124 GB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.127, allocations: 40.98 kB / 0.6124 GB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1272, allocations: 51.91 kB / 0.6125 GB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.1284, allocations: 454.1 kB / 0.6129 GB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.1285, allocations: 7.906 kB / 0.6129 GB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.1286, allocations: 20 kB / 0.6129 GB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1286, allocations: 12 kB / 0.6129 GB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.1295, allocations: 268.8 kB / 0.6132 GB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.1338, allocations: 1.7 MB / 0.6149 GB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.1348, allocations: 403.4 kB / 0.6152 GB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.1352, allocations: 164.2 kB / 0.6154 GB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.1352, allocations: 8 kB / 0.6154 GB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.1353, allocations: 58.42 kB / 0.6155 GB, free: 2.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 6.582e-06/0.1353, allocations: 0 / 0.6155 GB, free: 2.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.001459/0.1368, allocations: 353.8 kB / 0.6158 GB, free: 1.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.1369, allocations: 265.5 kB / 0.6161 GB, free: 1.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.1373, allocations: 250.6 kB / 0.6163 GB, free: 1.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1374, allocations: 37.7 kB / 0.6163 GB, free: 1.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1376, allocations: 239.6 kB / 0.6166 GB, free: 1.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.1378, allocations: 181.4 kB / 0.6167 GB, free: 0.8555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1379, allocations: 12 kB / 0.6167 GB, free: 0.8438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.138, allocations: 346.8 kB / 0.6171 GB, free: 0.4961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.1384, allocations: 117.9 kB / 0.6172 GB, free: 388 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/0.1391, allocations: 421.6 kB / 0.6176 GB, free: 15.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/0.1398, allocations: 195.9 kB / 0.6178 GB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.1399, allocations: 4 kB / 0.6178 GB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002055/0.1419, allocations: 0.5559 MB / 0.6183 GB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.142, allocations: 12 kB / 0.6183 GB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.1421, allocations: 8.094 kB / 0.6183 GB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/0.1422, allocations: 23.95 kB / 0.6184 GB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.1437, allocations: 175.7 kB / 0.6185 GB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.955e-05/0.1438, allocations: 23.92 kB / 0.6185 GB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007278/0.1446, allocations: 63.38 kB / 0.6186 GB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/0.1447, allocations: 32 kB / 0.6186 GB, free: 14.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0004354/0.1451, allocations: 190.8 kB / 0.6188 GB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.1456, allocations: 35.62 kB / 0.6189 GB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.1457, allocations: 45.7 kB / 0.6189 GB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.1458, allocations: 7.938 kB / 0.6189 GB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1458, allocations: 4 kB / 0.6189 GB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.1459, allocations: 108.7 kB / 0.619 GB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.1461, allocations: 15.98 kB / 0.619 GB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.1471, allocations: 8.625 kB / 0.619 GB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.1472, allocations: 27.97 kB / 0.6191 GB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002883/0.1501, allocations: 1.088 MB / 0.6201 GB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002107/0.1523, allocations: 1.218 MB / 0.6213 GB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004209/0.1527, allocations: 123.9 kB / 0.6214 GB, free: 11.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003183/0.1531, allocations: 166 kB / 0.6216 GB, free: 11.65 MB / 298.7 MB Notification: Performance of Backend: time 1.212e-06/0.1531, allocations: 0 / 0.6216 GB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.1562, allocations: 359.7 kB / 0.6219 GB, free: 11.29 MB / 298.7 MB Notification: Performance of SimCode: time 0.007438/0.1637, allocations: 2.905 MB / 0.6248 GB, free: 8.336 MB / 298.7 MB Notification: Performance of Templates: time 0.01946/0.1832, allocations: 4.116 MB / 0.6288 GB, free: 4.254 MB / 298.7 MB