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.001836/0.001837, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002658/0.002658, allocations: 192.8 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 222 MB, free: 4.805 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.3926/0.3926, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.002679/0.002679, allocations: 68.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1548, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005539/0.1604, allocations: 3.101 MB / 434.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1616, allocations: 406.5 kB / 434.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.162, allocations: 15.94 kB / 434.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1622, allocations: 47.61 kB / 434.6 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.1627, allocations: 146.8 kB / 434.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.163, allocations: 83.94 kB / 434.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.1634, allocations: 0.5208 MB / 435.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1638, allocations: 133.2 kB / 435.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.164, allocations: 179.4 kB / 435.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.1642, allocations: 207 kB / 435.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.1643, allocations: 28 kB / 435.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.1643, allocations: 32 kB / 435.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.1644, allocations: 87.67 kB / 436 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.1647, allocations: 238.7 kB / 436.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.1651, allocations: 0.4946 MB / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1651, allocations: 0 / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1651, allocations: 3.938 kB / 436.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1652, allocations: 0 / 436.7 MB, free: 1.348 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.0009396/0.1661, allocations: 0.7136 MB / 437.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1662, allocations: 8.031 kB / 437.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.1662, allocations: 56.28 kB / 437.5 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1666, allocations: 299.3 kB / 437.8 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1666, allocations: 33.38 kB / 437.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.1667, allocations: 52.28 kB / 437.9 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.1674, allocations: 466.6 kB / 438.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.1674, allocations: 8.094 kB / 438.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.1674, allocations: 27.88 kB / 438.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.1675, allocations: 15.98 kB / 438.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1679, allocations: 251.8 kB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.1699, allocations: 1.707 MB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.1705, allocations: 415.4 kB / 440.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1707, allocations: 155.7 kB / 440.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1707, allocations: 15.92 kB / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1707, allocations: 42.56 kB / 440.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 4.058e-06/0.1708, allocations: 4 kB / 440.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007219/0.1715, allocations: 358.2 kB / 441.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1716, allocations: 269 kB / 441.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.1719, allocations: 247.1 kB / 441.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1719, allocations: 33.7 kB / 441.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1721, allocations: 243.6 kB / 442.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1722, allocations: 181.4 kB / 442.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.1724, allocations: 114.6 kB / 442.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1725, allocations: 354.8 kB / 442.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.1727, allocations: 114 kB / 442.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1731, allocations: 421.6 kB / 443.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.1737, allocations: 0.5725 MB / 443.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.1737, allocations: 4 kB / 443.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007713/0.1745, allocations: 0.5722 MB / 444.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1745, allocations: 8 kB / 444.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1746, allocations: 19.94 kB / 444.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.1746, allocations: 12 kB / 444.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.1751, allocations: 187.6 kB / 444.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.1752, allocations: 19.94 kB / 444.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.1754, allocations: 63.36 kB / 444.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.1755, allocations: 39.94 kB / 444.7 MB, free: 8.629 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1757, allocations: 189.5 kB / 444.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.1759, allocations: 35.62 kB / 444.9 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.176, allocations: 41.7 kB / 445 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.176, allocations: 11.94 kB / 445 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.176, allocations: 0 / 445 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.176, allocations: 7.984 kB / 445 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.177, allocations: 413.2 kB / 445.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.177, allocations: 3.984 kB / 445.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.1776, allocations: 119.9 kB / 445.5 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.1776, allocations: 7.984 kB / 445.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.1776, allocations: 8 kB / 445.5 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.941e-05/0.1776, allocations: 11.94 kB / 445.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1776, allocations: 7.938 kB / 445.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1787, allocations: 1.087 MB / 446.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1788, allocations: 112.6 kB / 446.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.1789, allocations: 15.98 kB / 446.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.1793, allocations: 11.94 kB / 446.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1793, allocations: 27.97 kB / 446.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1794, allocations: 16 kB / 446.8 MB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1795, allocations: 174 kB / 447 MB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1795, allocations: 0 / 447 MB, free: 6.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007998/0.1803, allocations: 135.7 kB / 447.1 MB, free: 6.113 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.1806, allocations: 114.9 kB / 447.2 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.1812, allocations: 353.2 kB / 447.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1812, allocations: 0 / 447.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1814, allocations: 128.6 kB / 447.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.1826, allocations: 96.44 kB / 447.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.1857, allocations: 2.134 MB / 449.9 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1862, allocations: 0.8278 MB / 450.8 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1864, allocations: 48.16 kB / 450.8 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.1865, allocations: 35.44 kB / 450.8 MB, free: 2.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1865, allocations: 0 / 450.8 MB, free: 2.305 MB / 382.1 MB Notification: Performance of Templates: time 0.2375/0.424, allocations: 3.889 MB / 454.7 MB, free: 51.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (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)