Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.662/0.662, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001625/0.001625, allocations: 143.3 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002464, allocations: 4 kB / 184.9 MB, free: 3.945 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1256, allocations: 25.16 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04077/0.1664, allocations: 33.43 MB / 243.5 MB, free: 436 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.1666, allocations: 59.97 kB / 243.5 MB, free: 376 kB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0033/0.1699, allocations: 1.299 MB / 244.8 MB, free: 15.07 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.17, allocations: 0 / 244.8 MB, free: 15.07 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.17, allocations: 0 / 244.8 MB, free: 15.07 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003182/0.1703, allocations: 351 kB / 245.2 MB, free: 14.68 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1704, allocations: 8.031 kB / 245.2 MB, free: 14.68 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1704, allocations: 7.781 kB / 245.2 MB, free: 14.67 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1706, allocations: 180.3 kB / 245.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1706, allocations: 7.938 kB / 245.4 MB, free: 14.45 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1706, allocations: 15.98 kB / 245.4 MB, free: 14.43 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1707, allocations: 61.67 kB / 245.5 MB, free: 14.37 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1708, allocations: 7.984 kB / 245.5 MB, free: 14.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1708, allocations: 5.406 kB / 245.5 MB, free: 14.36 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1708, allocations: 3.953 kB / 245.5 MB, free: 14.35 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.1709, allocations: 31.98 kB / 245.5 MB, free: 14.32 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1716, allocations: 387.5 kB / 245.9 MB, free: 13.88 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.1717, allocations: 54.56 kB / 245.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.1717, allocations: 0 / 245.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1717, allocations: 34.56 kB / 246 MB, free: 13.78 MB / 186.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1717, allocations: 0 / 246 MB, free: 13.78 MB / 186.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006836/0.1724, allocations: 0.5098 MB / 246.5 MB, free: 13.18 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1724, allocations: 55.34 kB / 246.5 MB, free: 13.11 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.1725, allocations: 112.4 kB / 246.6 MB, free: 12.99 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1725, allocations: 29.7 kB / 246.7 MB, free: 12.96 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1726, allocations: 88.05 kB / 246.8 MB, free: 12.87 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1726, allocations: 31.55 kB / 246.8 MB, free: 12.84 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.1726, allocations: 4 kB / 246.8 MB, free: 12.83 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1728, allocations: 326.8 kB / 247.1 MB, free: 12.5 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.1728, allocations: 12 kB / 247.1 MB, free: 12.49 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.1729, allocations: 61.14 kB / 247.2 MB, free: 12.41 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.1729, allocations: 28.64 kB / 247.2 MB, free: 12.39 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1729, allocations: 4 kB / 247.2 MB, free: 12.38 MB / 186.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001553/0.1731, allocations: 113.4 kB / 247.3 MB, free: 12.27 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1731, allocations: 4 kB / 247.3 MB, free: 12.26 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1731, allocations: 7.938 kB / 247.3 MB, free: 12.25 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1732, allocations: 2.688 kB / 247.3 MB, free: 12.25 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.1732, allocations: 27.92 kB / 247.4 MB, free: 12.23 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1733, allocations: 4 kB / 247.4 MB, free: 12.22 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.1733, allocations: 0 / 247.4 MB, free: 12.22 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1733, allocations: 8 kB / 247.4 MB, free: 12.21 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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 8.606e-05/0.1734, allocations: 124.8 kB / 247.5 MB, free: 12.09 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1734, allocations: 11.86 kB / 247.5 MB, free: 12.07 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.1735, allocations: 12.36 kB / 247.5 MB, free: 12.07 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1735, allocations: 4.141 kB / 247.5 MB, free: 12.06 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1735, allocations: 0 / 247.5 MB, free: 12.06 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1735, allocations: 3.984 kB / 247.5 MB, free: 12.06 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.174, allocations: 414.5 kB / 247.9 MB, free: 11.58 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.174, allocations: 0 / 247.9 MB, free: 11.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.1741, allocations: 19.94 kB / 248 MB, free: 11.56 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1741, allocations: 2.062 kB / 248 MB, free: 11.56 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1741, allocations: 4 kB / 248 MB, free: 11.56 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1741, allocations: 3.984 kB / 248 MB, free: 11.55 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1741, allocations: 4 kB / 248 MB, free: 11.55 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1744, allocations: 302 kB / 248.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1744, allocations: 81.11 kB / 248.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1744, allocations: 0 / 248.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.1745, allocations: 8 kB / 248.3 MB, free: 11.09 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.1745, allocations: 13.3 kB / 248.4 MB, free: 11.08 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1746, allocations: 4 kB / 248.4 MB, free: 11.07 MB / 186.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.1746, allocations: 97.02 kB / 248.5 MB, free: 10.98 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1746, allocations: 0 / 248.5 MB, free: 10.98 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.1748, allocations: 16 kB / 248.5 MB, free: 10.96 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001211/0.175, allocations: 99.23 kB / 248.6 MB, free: 10.86 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.1751, allocations: 59.86 kB / 248.6 MB, free: 10.8 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1751, allocations: 4 kB / 248.6 MB, free: 10.79 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.1752, allocations: 28.36 kB / 248.7 MB, free: 10.77 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1754, allocations: 17.66 kB / 248.7 MB, free: 10.75 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.176, allocations: 401.8 kB / 249.1 MB, free: 10.32 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1762, allocations: 0.6965 MB / 249.8 MB, free: 9.602 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.1763, allocations: 4.438 kB / 249.8 MB, free: 9.598 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.1763, allocations: 11.44 kB / 249.8 MB, free: 9.586 MB / 186.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1763, allocations: 4 kB / 249.8 MB, free: 9.582 MB / 186.7 MB Notification: Performance of Templates: time 0.002352/0.1787, allocations: 0.5952 MB / 250.4 MB, free: 8.996 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)