Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001129/0.00113, allocations: 177.3 kB / 15.94 MB, free: 228 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.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.3735/0.3735, allocations: 38.03 MB / 308.4 MB, free: 10.54 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.0008117/0.0008118, allocations: 19.98 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1501, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003198/0.1533, allocations: 2.57 MB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1547, allocations: 0.8664 MB / 437.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1549, allocations: 8 kB / 437.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.452e-05/0.155, allocations: 47.55 kB / 437.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1554, allocations: 203.5 kB / 437.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1556, allocations: 75.92 kB / 437.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.156, allocations: 427 kB / 438.1 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.1563, allocations: 132.6 kB / 438.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1565, allocations: 183.3 kB / 438.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.1568, allocations: 211.1 kB / 438.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.1568, allocations: 28 kB / 438.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.1569, allocations: 24 kB / 438.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.157, allocations: 79.67 kB / 438.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1571, allocations: 125.4 kB / 438.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1575, allocations: 402.8 kB / 439.3 MB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1575, allocations: 0 / 439.3 MB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1575, allocations: 0 / 439.3 MB, free: 216 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1575, allocations: 0 / 439.3 MB, free: 216 kB / 366.1 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.001024/0.1585, allocations: 0.6781 MB / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1586, allocations: 8.031 kB / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.1587, allocations: 55.39 kB / 440 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.1591, allocations: 309.3 kB / 440.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1591, allocations: 33 kB / 440.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.1592, allocations: 59.91 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.1599, allocations: 422.6 kB / 440.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.1599, allocations: 11.91 kB / 440.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.16, allocations: 16 kB / 440.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.16, allocations: 12 kB / 440.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.1605, allocations: 320.4 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.1622, allocations: 1.157 MB / 442.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.1629, allocations: 485.1 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.163, allocations: 4.438 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.163, allocations: 46.97 kB / 442.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.883e-06/0.163, allocations: 3.938 kB / 442.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002762/0.1658, allocations: 2.131 MB / 445 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1659, allocations: 89.66 kB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1661, allocations: 246.9 kB / 445.3 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1661, allocations: 41.7 kB / 445.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1663, allocations: 209 kB / 445.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.1665, allocations: 268.1 kB / 445.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.1665, allocations: 20 kB / 445.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1667, allocations: 350.8 kB / 446.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1669, allocations: 153.9 kB / 446.3 MB, free: 8.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.1672, allocations: 270.1 kB / 446.6 MB, free: 8.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1675, allocations: 199.2 kB / 446.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1675, allocations: 0 / 446.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007593/0.1683, allocations: 0.5784 MB / 447.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1683, allocations: 4 kB / 447.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1683, allocations: 4 kB / 447.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1684, allocations: 8 kB / 447.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.1689, allocations: 179.7 kB / 447.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.169, allocations: 7.953 kB / 447.6 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1692, allocations: 28.28 kB / 447.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.1693, allocations: 28 kB / 447.6 MB, free: 7.383 MB / 382.1 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.0002191/0.1695, allocations: 190.6 kB / 447.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.1696, allocations: 43.53 kB / 447.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.1697, allocations: 55.64 kB / 447.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.1697, allocations: 4 kB / 447.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.1697, allocations: 4 kB / 447.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.1697, allocations: 7.938 kB / 447.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.1716, allocations: 1.442 MB / 449.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1716, allocations: 0 / 449.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.1722, allocations: 159.8 kB / 449.5 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1722, allocations: 7.938 kB / 449.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.1722, allocations: 20 kB / 449.5 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.1722, allocations: 11.95 kB / 449.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1723, allocations: 7.938 kB / 449.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1734, allocations: 1.045 MB / 450.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.1735, allocations: 120.6 kB / 450.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.1736, allocations: 16 kB / 450.7 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1738, allocations: 19.95 kB / 450.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1739, allocations: 48.38 kB / 450.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.1739, allocations: 27.92 kB / 450.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1741, allocations: 182 kB / 451 MB, free: 3.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1741, allocations: 0 / 451 MB, free: 3.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.1746, allocations: 140 kB / 451.1 MB, free: 3.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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.0001476/0.1748, allocations: 123.1 kB / 451.3 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006527/0.1754, allocations: 447.6 kB / 451.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1754, allocations: 0 / 451.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1757, allocations: 242.2 kB / 451.9 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.1764, allocations: 106 kB / 452 MB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1791, allocations: 2.022 MB / 454.1 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2278/0.4069, allocations: 0.8555 MB / 454.9 MB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.4073, allocations: 57.44 kB / 455 MB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4074, allocations: 43.78 kB / 455 MB, free: 50.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4074, allocations: 0 / 455 MB, free: 50.01 MB / 382.1 MB Notification: Performance of Templates: time 0.008993/0.4164, allocations: 4.793 MB / 459.8 MB, free: 49.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) Environment - environmentSimulation: