Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001128/0.001128, 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.00313/0.00313, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.3411/0.3411, allocations: 37.99 MB / 307.8 MB, free: 10.01 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.001527/0.001527, allocations: 78.55 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1605, allocations: 56.46 MB / 431.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.004617/0.1652, allocations: 1.902 MB / 433.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1664, allocations: 0.5347 MB / 434.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1666, allocations: 4 kB / 434.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1667, allocations: 23.78 kB / 434.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1669, allocations: 35.64 kB / 434.2 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1671, allocations: 39.88 kB / 434.2 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1674, allocations: 147.3 kB / 434.4 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.1676, allocations: 65.62 kB / 434.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1678, allocations: 55.8 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1679, allocations: 63.7 kB / 434.6 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1679, allocations: 12 kB / 434.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.168, allocations: 12 kB / 434.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.304e-05/0.168, allocations: 35.78 kB / 434.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.1681, allocations: 71.66 kB / 434.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1683, allocations: 155.7 kB / 434.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1683, allocations: 0 / 434.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1683, allocations: 0 / 434.8 MB, free: 3.492 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1683, allocations: 0 / 434.8 MB, free: 3.492 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.0005832/0.1689, allocations: 427.1 kB / 435.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1689, allocations: 11.89 kB / 435.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.169, allocations: 16.75 kB / 435.3 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1692, allocations: 208.1 kB / 435.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1693, allocations: 12.38 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1693, allocations: 12.38 kB / 435.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1695, allocations: 129.8 kB / 435.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1696, allocations: 3.906 kB / 435.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1696, allocations: 4 kB / 435.7 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1696, allocations: 4 kB / 435.7 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1698, allocations: 87.88 kB / 435.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.1705, allocations: 472.2 kB / 436.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1707, allocations: 118.4 kB / 436.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1709, allocations: 60.83 kB / 436.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1709, allocations: 8 kB / 436.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1709, allocations: 34.5 kB / 436.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.837e-06/0.1709, allocations: 3.984 kB / 436.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001526/0.1725, allocations: 0.8103 MB / 437.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1725, allocations: 51.41 kB / 437.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1726, allocations: 146.1 kB / 437.4 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1727, allocations: 29.7 kB / 437.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1727, allocations: 108.3 kB / 437.6 MB, free: 500 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.1728, allocations: 59.11 kB / 437.6 MB, free: 440 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.1729, allocations: 45.61 kB / 437.7 MB, free: 388 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.173, allocations: 326.8 kB / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.1731, allocations: 39.98 kB / 438 MB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1732, allocations: 79.36 kB / 438.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1734, allocations: 139.3 kB / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1734, allocations: 0 / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003604/0.1738, allocations: 206.2 kB / 438.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1738, allocations: 11.94 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1739, allocations: 0 / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.174, allocations: 36.84 kB / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1742, allocations: 40 kB / 438.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.1757, allocations: 1.736 MB / 440.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.1758, allocations: 8.031 kB / 440.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1759, allocations: 4 kB / 440.3 MB, free: 13.59 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.0001015/0.176, allocations: 129.8 kB / 440.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.176, allocations: 15.88 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1761, allocations: 17.19 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1761, allocations: 3.938 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.1761, allocations: 4 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1761, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/0.1769, allocations: 0.5583 MB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1769, allocations: 0 / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1771, allocations: 43.91 kB / 441 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.1772, allocations: 24.84 kB / 441.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1772, allocations: 8 kB / 441.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1783, allocations: 1.481 MB / 442.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1783, allocations: 64 / 442.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.1788, allocations: 348.5 kB / 442.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.1789, allocations: 85.05 kB / 443 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1789, allocations: 4 kB / 443 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.179, allocations: 11.98 kB / 443 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.1791, allocations: 15.98 kB / 443 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1791, allocations: 4 kB / 443 MB, free: 10.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.1792, allocations: 115.2 kB / 443.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1792, allocations: 0 / 443.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1795, allocations: 39.94 kB / 443.2 MB, free: 10.45 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.0001356/0.1796, allocations: 107.1 kB / 443.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.1802, allocations: 274.5 kB / 443.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1802, allocations: 0 / 443.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.1805, allocations: 193.9 kB / 443.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1809, allocations: 20.17 kB / 443.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.1816, allocations: 449.6 kB / 444.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1819, allocations: 0.7166 MB / 444.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.182, allocations: 13.42 kB / 444.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1821, allocations: 15.44 kB / 444.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1821, allocations: 4 kB / 444.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Templates: time 0.005058/0.1871, allocations: 1.593 MB / 446.5 MB, free: 6.996 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)