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.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001931/0.001931, allocations: 191.3 kB / 16.13 MB, free: 6.66 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.631/1.631, allocations: 205.1 MB / 222 MB, free: 4.719 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.3597/0.3597, allocations: 39.94 MB / 309.3 MB, free: 9.648 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.00142/0.00142, allocations: 65.94 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 56.89 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003317/0.162, allocations: 1.952 MB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.1628, allocations: 0.5231 MB / 436.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.1629, allocations: 7.938 kB / 436.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1631, allocations: 11.92 kB / 436.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.31e-05/0.1632, allocations: 43.69 kB / 436.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1634, allocations: 27.97 kB / 436.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1635, allocations: 151.2 kB / 436.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1637, allocations: 45.97 kB / 436.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1638, allocations: 55.78 kB / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.164, allocations: 67.7 kB / 436.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.164, allocations: 8 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.164, allocations: 8 kB / 436.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.1641, allocations: 23.91 kB / 436.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1641, allocations: 59.67 kB / 436.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1643, allocations: 147.7 kB / 436.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1644, allocations: 0 / 436.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1644, allocations: 3.938 kB / 436.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1644, allocations: 0 / 436.9 MB, free: 1.266 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.0005841/0.165, allocations: 439 kB / 437.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.165, allocations: 8.031 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1651, allocations: 20.73 kB / 437.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1653, allocations: 200.1 kB / 437.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1653, allocations: 8.375 kB / 437.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1653, allocations: 16.38 kB / 437.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.1656, allocations: 125.8 kB / 437.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1656, allocations: 3.984 kB / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1656, allocations: 8 kB / 437.7 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1657, allocations: 4 kB / 437.7 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1658, allocations: 91.86 kB / 437.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.1665, allocations: 480.2 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1668, allocations: 126.5 kB / 438.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1669, allocations: 52.84 kB / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1669, allocations: 0 / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1669, allocations: 38.5 kB / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.167, allocations: 0 / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001423/0.1684, allocations: 0.7983 MB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1684, allocations: 59.39 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1685, allocations: 145.4 kB / 439.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1686, allocations: 33.64 kB / 439.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.1686, allocations: 112.3 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1687, allocations: 59.02 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1687, allocations: 37.7 kB / 439.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1688, allocations: 326.8 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.169, allocations: 43.97 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1691, allocations: 87.22 kB / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1693, allocations: 131.4 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1693, allocations: 0 / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003401/0.1696, allocations: 210.1 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1697, allocations: 11.97 kB / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1697, allocations: 0 / 440.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.1698, allocations: 44.88 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.17, allocations: 31.97 kB / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.1712, allocations: 1.553 MB / 442.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.1713, allocations: 8.031 kB / 442.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1713, allocations: 7.938 kB / 442.2 MB, free: 11.53 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 9.47e-05/0.1714, allocations: 129.8 kB / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1715, allocations: 15.81 kB / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.1715, allocations: 25.17 kB / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1715, allocations: 0 / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1716, allocations: 4 kB / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1716, allocations: 0 / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.1723, allocations: 0.5582 MB / 442.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1723, allocations: 0 / 442.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1724, allocations: 31.98 kB / 442.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.951e-05/0.1725, allocations: 32.77 kB / 443 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1726, allocations: 8 kB / 443 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009057/0.1735, allocations: 1.371 MB / 444.4 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1735, allocations: 11.86 kB / 444.4 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.174, allocations: 341 kB / 444.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.174, allocations: 89 kB / 444.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.174, allocations: 8.062 kB / 444.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.1741, allocations: 7.938 kB / 444.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1742, allocations: 15.92 kB / 444.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1742, allocations: 4 kB / 444.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.1743, allocations: 111.3 kB / 444.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1743, allocations: 0 / 444.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1746, allocations: 44 kB / 445 MB, free: 8.492 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.0001074/0.1747, allocations: 99.19 kB / 445.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004631/0.1752, allocations: 262.5 kB / 445.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1752, allocations: 4.062 kB / 445.3 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1754, allocations: 198.5 kB / 445.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.1759, allocations: 30.8 kB / 445.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.1767, allocations: 496.2 kB / 446 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.177, allocations: 0.7207 MB / 446.8 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.177, allocations: 9.422 kB / 446.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1771, allocations: 15.44 kB / 446.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1771, allocations: 0 / 446.8 MB, free: 6.602 MB / 382.1 MB Notification: Performance of Templates: time 0.003993/0.1811, allocations: 1.52 MB / 448.3 MB, free: 5.082 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)