Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 100.3 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.002041/0.002042, 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.784/1.784, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3995/0.3995, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.000616/0.0006163, allocations: 15.94 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1483, allocations: 57.51 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00345/0.1518, allocations: 2.256 MB / 436.2 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1536, allocations: 0.7337 MB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.154, allocations: 11.94 kB / 436.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1541, allocations: 31.7 kB / 436.9 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.1547, allocations: 135.6 kB / 437.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.1552, allocations: 71.86 kB / 437.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007445/0.1559, allocations: 299.4 kB / 437.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.1562, allocations: 108.2 kB / 437.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.1566, allocations: 135.5 kB / 437.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.157, allocations: 163.3 kB / 437.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.1571, allocations: 20 kB / 437.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.863e-05/0.1572, allocations: 20 kB / 437.9 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.1572, allocations: 63.75 kB / 437.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1574, allocations: 97.45 kB / 438 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1578, allocations: 307.4 kB / 438.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1578, allocations: 0 / 438.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1578, allocations: 0 / 438.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1578, allocations: 0 / 438.3 MB, free: 1.129 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001258/0.1591, allocations: 0.5849 MB / 438.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.1591, allocations: 8.031 kB / 438.9 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1593, allocations: 43.48 kB / 439 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.1597, allocations: 271.3 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.1598, allocations: 29 kB / 439.3 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1599, allocations: 39.91 kB / 439.3 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.1606, allocations: 386.1 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/0.1607, allocations: 19.84 kB / 439.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1608, allocations: 19.95 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1608, allocations: 12 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.1613, allocations: 227.7 kB / 440 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.1639, allocations: 1.727 MB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.1644, allocations: 258.4 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1645, allocations: 11.94 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1645, allocations: 38.56 kB / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 3.657e-06/0.1645, allocations: 0 / 442 MB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007385/0.1653, allocations: 281.8 kB / 442.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1654, allocations: 213.6 kB / 442.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.1657, allocations: 270.9 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1657, allocations: 29.7 kB / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1659, allocations: 239.3 kB / 443 MB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.166, allocations: 122.5 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/0.166, allocations: 8 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1662, allocations: 350.8 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1664, allocations: 101.2 kB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.1669, allocations: 428.8 kB / 444 MB, free: 10.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1671, allocations: 175.8 kB / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1672, allocations: 0 / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008004/0.168, allocations: 0.528 MB / 444.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.168, allocations: 8 kB / 444.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.168, allocations: 16.83 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.1681, allocations: 20 kB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.1685, allocations: 151.7 kB / 444.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.1685, allocations: 27.86 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1688, allocations: 67.44 kB / 445 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1689, allocations: 28 kB / 445 MB, free: 9.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002054/0.1691, allocations: 186.5 kB / 445.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.1693, allocations: 31.62 kB / 445.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.1693, allocations: 37.78 kB / 445.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1693, allocations: 4 kB / 445.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.1694, allocations: 4 kB / 445.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1694, allocations: 0 / 445.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.1706, allocations: 0.6475 MB / 445.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1706, allocations: 4.625 kB / 445.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.171, allocations: 96 kB / 446 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.1711, allocations: 7.938 kB / 446 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1711, allocations: 11.94 kB / 446 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1711, allocations: 8 kB / 446 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1711, allocations: 0 / 446 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1719, allocations: 0.9405 MB / 447 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.172, allocations: 112.9 kB / 447.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.1721, allocations: 11.95 kB / 447.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.1724, allocations: 12.19 kB / 447.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.1725, allocations: 19.97 kB / 447.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1725, allocations: 15.97 kB / 447.1 MB, free: 7.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1727, allocations: 178 kB / 447.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1727, allocations: 4 kB / 447.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006997/0.1734, allocations: 103.8 kB / 447.4 MB, free: 7.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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.0001552/0.1736, allocations: 119.1 kB / 447.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.1741, allocations: 286.2 kB / 447.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1741, allocations: 4 kB / 447.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1743, allocations: 95.95 kB / 447.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.175, allocations: 64.67 kB / 448 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.1774, allocations: 1.887 MB / 449.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.1778, allocations: 0.8072 MB / 450.7 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.178, allocations: 39.27 kB / 450.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.178, allocations: 35.36 kB / 450.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.178, allocations: 0 / 450.7 MB, free: 3.918 MB / 382.1 MB Notification: Performance of Templates: time 0.006103/0.1842, allocations: 2.644 MB / 453.4 MB, free: 1.273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) Environment - environmentSimulation: