Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.633/1.633, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3782/0.3782, allocations: 39.94 MB / 309.7 MB, free: 9.277 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.2. 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.001588/0.001588, allocations: 66.55 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1582, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.00369/0.1619, allocations: 1.899 MB / 436.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.1629, allocations: 0.5424 MB / 436.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1631, allocations: 4 kB / 436.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1632, allocations: 15.8 kB / 436.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.1633, allocations: 39.62 kB / 437 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1636, allocations: 43.88 kB / 437 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1638, allocations: 147.3 kB / 437.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.164, allocations: 61.62 kB / 437.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1641, allocations: 59.84 kB / 437.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1643, allocations: 59.7 kB / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1643, allocations: 12 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-05/0.1644, allocations: 16 kB / 437.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.1644, allocations: 31.86 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.1645, allocations: 75.66 kB / 437.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1648, allocations: 147.7 kB / 437.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1648, allocations: 0 / 437.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1648, allocations: 0 / 437.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1648, allocations: 0 / 437.6 MB, free: 0.5156 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006136/0.1655, allocations: 431 kB / 438 MB, free: 48 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1655, allocations: 11.89 kB / 438.1 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1656, allocations: 20.75 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1658, allocations: 204.1 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1658, allocations: 16.31 kB / 438.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.1659, allocations: 12.38 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1661, allocations: 125.8 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1662, allocations: 0 / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1662, allocations: 8 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1662, allocations: 0 / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1664, allocations: 91.88 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.1671, allocations: 472.1 kB / 439 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1673, allocations: 130.4 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1675, allocations: 60.83 kB / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1675, allocations: 0 / 439.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.1676, allocations: 34.56 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.1676, allocations: 0 / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001551/0.1691, allocations: 0.8062 MB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1692, allocations: 59.34 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1694, allocations: 138.1 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1694, allocations: 29.7 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.1695, allocations: 116.3 kB / 440.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.1696, allocations: 70.98 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1697, allocations: 33.7 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1699, allocations: 326.8 kB / 440.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.17, allocations: 39.98 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1701, allocations: 75.34 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1704, allocations: 143.3 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1704, allocations: 0 / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003843/0.1708, allocations: 206.1 kB / 441.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1708, allocations: 7.938 kB / 441.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1708, allocations: 0 / 441.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.171, allocations: 48.86 kB / 441.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.1712, allocations: 35.91 kB / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.1728, allocations: 1.732 MB / 443 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1729, allocations: 8.031 kB / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1729, allocations: 4 kB / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.173, allocations: 129.9 kB / 443.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1731, allocations: 11.91 kB / 443.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.1731, allocations: 17.17 kB / 443.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.1731, allocations: 7.938 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1731, allocations: 0 / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1731, allocations: 0 / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.1739, allocations: 0.5583 MB / 443.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1739, allocations: 0 / 443.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1741, allocations: 35.92 kB / 443.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.1742, allocations: 36.77 kB / 443.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1742, allocations: 7.938 kB / 443.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.1754, allocations: 1.485 MB / 445.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1754, allocations: 0 / 445.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.1759, allocations: 348.1 kB / 445.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1759, allocations: 88.95 kB / 445.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.176, allocations: 8.125 kB / 445.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.1761, allocations: 8 kB / 445.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.1761, allocations: 19.91 kB / 445.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1761, allocations: 12 kB / 445.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.877e-05/0.1762, allocations: 103.3 kB / 445.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1762, allocations: 0 / 445.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1765, allocations: 40 kB / 446 MB, free: 7.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.1767, allocations: 107.1 kB / 446.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.1772, allocations: 266.6 kB / 446.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1772, allocations: 0 / 446.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.1776, allocations: 198.5 kB / 446.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.178, allocations: 19.56 kB / 446.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.1788, allocations: 449.8 kB / 447 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1792, allocations: 0.7166 MB / 447.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.116e-05/0.1792, allocations: 13.42 kB / 447.7 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.1793, allocations: 15.44 kB / 447.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1793, allocations: 0 / 447.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of Templates: time 0.00442/0.1837, allocations: 1.589 MB / 449.3 MB, free: 4.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)