Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001638, allocations: 102.6 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3694/0.3694, allocations: 38.03 MB / 308.4 MB, free: 10.25 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005813/0.0005813, allocations: 15.98 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1405, allocations: 57.51 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00293/0.1435, allocations: 2.418 MB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006356/0.1441, allocations: 450.7 kB / 436.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1442, allocations: 7.938 kB / 436.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.24e-05/0.1443, allocations: 47.61 kB / 436.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1446, allocations: 179.5 kB / 437 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1448, allocations: 71.94 kB / 437.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1452, allocations: 383.2 kB / 437.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1455, allocations: 129.1 kB / 437.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1456, allocations: 171.4 kB / 437.7 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.1459, allocations: 191.2 kB / 437.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1459, allocations: 24 kB / 437.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.146, allocations: 24 kB / 438 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.1461, allocations: 71.75 kB / 438 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.1462, allocations: 117.5 kB / 438.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.1465, allocations: 383.2 kB / 438.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1465, allocations: 0 / 438.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1465, allocations: 4 kB / 438.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1465, allocations: 3.938 kB / 438.5 MB, free: 0.9336 MB / 366.1 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.0008596/0.1474, allocations: 0.6432 MB / 439.2 MB, free: 248 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1475, allocations: 12.03 kB / 439.2 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.1475, allocations: 55.39 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1479, allocations: 294 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1479, allocations: 33 kB / 439.6 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.148, allocations: 52 kB / 439.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.1487, allocations: 462 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1487, allocations: 3.906 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.1487, allocations: 31.97 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1488, allocations: 12 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.1491, allocations: 251.7 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1512, allocations: 1.707 MB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.1516, allocations: 415.8 kB / 442.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1517, allocations: 7.938 kB / 442.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1517, allocations: 46.5 kB / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.1517, allocations: 0 / 442.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006682/0.1524, allocations: 353 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.1525, allocations: 269.5 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.1528, allocations: 246.7 kB / 443.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1528, allocations: 29.7 kB / 443.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.153, allocations: 243.6 kB / 443.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.1531, allocations: 181.4 kB / 443.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1531, allocations: 12 kB / 443.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1533, allocations: 350.8 kB / 444.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.1535, allocations: 114 kB / 444.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1539, allocations: 417.6 kB / 444.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1541, allocations: 188.8 kB / 444.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1542, allocations: 3.953 kB / 444.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007735/0.1549, allocations: 0.5636 MB / 445.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.155, allocations: 12.25 kB / 445.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.155, allocations: 12.62 kB / 445.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.155, allocations: 16 kB / 445.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.1556, allocations: 179.7 kB / 445.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.1556, allocations: 15.94 kB / 445.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1558, allocations: 63.38 kB / 445.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.1559, allocations: 40 kB / 445.8 MB, free: 9.148 MB / 382.1 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.0001896/0.1561, allocations: 190.5 kB / 446 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.1563, allocations: 43.58 kB / 446 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/0.1564, allocations: 41.7 kB / 446 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1564, allocations: 8 kB / 446.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.1564, allocations: 4 kB / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1564, allocations: 0 / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.1574, allocations: 417.1 kB / 446.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1574, allocations: 7.938 kB / 446.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.158, allocations: 123.8 kB / 446.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.158, allocations: 4 kB / 446.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.158, allocations: 19.98 kB / 446.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.158, allocations: 4 kB / 446.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.158, allocations: 11.94 kB / 446.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.159, allocations: 1.166 MB / 447.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1591, allocations: 116.6 kB / 447.9 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1592, allocations: 15.98 kB / 447.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.1596, allocations: 8 kB / 447.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.1596, allocations: 35.86 kB / 448 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1596, allocations: 8 kB / 448 MB, free: 6.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1598, allocations: 178 kB / 448.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1598, allocations: 0 / 448.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008278/0.1606, allocations: 135.8 kB / 448.3 MB, free: 6.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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 Backend phase and start with SimCode phase: time 0.0001625/0.1608, allocations: 111.1 kB / 448.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.1614, allocations: 340.7 kB / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1614, allocations: 0 / 448.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.1616, allocations: 131.8 kB / 448.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.1623, allocations: 81.73 kB / 448.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.1653, allocations: 2.428 MB / 451.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1658, allocations: 0.8395 MB / 452.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.166, allocations: 52.14 kB / 452.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.166, allocations: 31.44 kB / 452.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.166, allocations: 3.938 kB / 452.3 MB, free: 2.391 MB / 382.1 MB Notification: Performance of Templates: time 0.2602/0.4262, allocations: 3.722 MB / 456 MB, free: 47.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) Environment - environmentSimulation: