Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 99.47 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.001934/0.001935, allocations: 177.3 kB / 15.95 MB, free: 216 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.747/1.747, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4107/0.4107, allocations: 38.04 MB / 308.4 MB, free: 10.38 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.0007144/0.0007147, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1591, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003338/0.1625, allocations: 2.104 MB / 436 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1641, allocations: 0.6869 MB / 436.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.1645, allocations: 7.938 kB / 436.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1647, allocations: 27.77 kB / 436.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.1652, allocations: 95.72 kB / 436.8 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1656, allocations: 67.92 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.1662, allocations: 223.5 kB / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1665, allocations: 73.55 kB / 437.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.1667, allocations: 111.6 kB / 437.3 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1669, allocations: 115.5 kB / 437.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.1669, allocations: 12 kB / 437.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.167, allocations: 12 kB / 437.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.167, allocations: 43.78 kB / 437.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.1671, allocations: 73.58 kB / 437.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1674, allocations: 215.7 kB / 437.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1674, allocations: 0 / 437.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1674, allocations: 4 kB / 437.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1674, allocations: 0 / 437.8 MB, free: 1.703 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009636/0.1684, allocations: 0.5417 MB / 438.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1684, allocations: 11.97 kB / 438.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.1685, allocations: 31.62 kB / 438.3 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1689, allocations: 255.4 kB / 438.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1689, allocations: 24.5 kB / 438.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1689, allocations: 31.84 kB / 438.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.1695, allocations: 285.9 kB / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.1696, allocations: 3.984 kB / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1696, allocations: 15.95 kB / 439 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1696, allocations: 8 kB / 439 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.17, allocations: 199.8 kB / 439.2 MB, free: 204 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.1718, allocations: 1.321 MB / 440.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.1722, allocations: 250.3 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.1723, allocations: 7.984 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1723, allocations: 38.75 kB / 440.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.1723, allocations: 3.938 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002776/0.1751, allocations: 1.62 MB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1752, allocations: 140.4 kB / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1755, allocations: 224.9 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1755, allocations: 29.7 kB / 442.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1757, allocations: 176.2 kB / 442.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.225e-05/0.1758, allocations: 122.3 kB / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.1758, allocations: 12 kB / 443.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.176, allocations: 334.8 kB / 443.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.1763, allocations: 108.8 kB / 443.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1766, allocations: 249.5 kB / 443.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.177, allocations: 143.8 kB / 443.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.177, allocations: 4 kB / 443.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007948/0.1778, allocations: 405 kB / 444.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.1778, allocations: 15.73 kB / 444.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.1778, allocations: 4.062 kB / 444.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.1779, allocations: 12 kB / 444.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.1782, allocations: 111.8 kB / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1783, allocations: 8.781 kB / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.1785, allocations: 36.59 kB / 444.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1785, allocations: 16 kB / 444.5 MB, free: 10.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001659/0.1787, allocations: 157.6 kB / 444.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1788, allocations: 23.72 kB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.1789, allocations: 37.7 kB / 444.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1789, allocations: 4 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.179, allocations: 11.94 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.179, allocations: 0 / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.1805, allocations: 1.001 MB / 445.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1805, allocations: 0 / 445.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.1809, allocations: 88.16 kB / 445.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.1809, allocations: 8.062 kB / 445.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.181, allocations: 8 kB / 445.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.181, allocations: 7.875 kB / 445.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.181, allocations: 7.938 kB / 445.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1821, allocations: 0.827 MB / 446.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.1822, allocations: 108.7 kB / 446.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1822, allocations: 8.062 kB / 446.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.1825, allocations: 23.98 kB / 446.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.1826, allocations: 27.97 kB / 446.8 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1827, allocations: 12.23 kB / 446.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1828, allocations: 148.5 kB / 447 MB, free: 7.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1828, allocations: 0 / 447 MB, free: 7.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.1833, allocations: 68 kB / 447.1 MB, free: 7.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001489/0.1835, allocations: 107.2 kB / 447.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006616/0.1841, allocations: 300.2 kB / 447.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1842, allocations: 4 kB / 447.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.1846, allocations: 148.1 kB / 447.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1851, allocations: 32.38 kB / 447.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1867, allocations: 1.07 MB / 448.7 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1871, allocations: 0.7767 MB / 449.5 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1873, allocations: 34.95 kB / 449.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.1874, allocations: 27.42 kB / 449.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1874, allocations: 0 / 449.5 MB, free: 5.09 MB / 382.1 MB Notification: Performance of Templates: time 0.006621/0.194, allocations: 2.099 MB / 451.6 MB, free: 2.992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: