Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001024/0.001024, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.202/1.202, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.5 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08489, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2531/0.3381, allocations: 71.05 MB / 426.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/0.3383, allocations: 71.88 kB / 426.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002861/0.3412, allocations: 1.311 MB / 427.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3412, allocations: 0 / 427.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3412, allocations: 7.125 kB / 427.5 MB, free: 17.29 MB / 314.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.0002775/0.3415, allocations: 341.8 kB / 427.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3416, allocations: 12.03 kB / 427.8 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3416, allocations: 8.844 kB / 427.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3417, allocations: 188.3 kB / 428 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3417, allocations: 3.875 kB / 428 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3418, allocations: 13.06 kB / 428.1 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3419, allocations: 59.86 kB / 428.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3419, allocations: 3.875 kB / 428.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3419, allocations: 1.5 kB / 428.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3419, allocations: 4 kB / 428.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.342, allocations: 42.41 kB / 428.2 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.3425, allocations: 380.3 kB / 428.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.3426, allocations: 60.75 kB / 428.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3426, allocations: 0 / 428.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.3427, allocations: 32.75 kB / 428.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.3427, allocations: 3.172 kB / 428.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006104/0.3433, allocations: 0.524 MB / 429.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3433, allocations: 51.41 kB / 429.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.3434, allocations: 107 kB / 429.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.3434, allocations: 28.83 kB / 429.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.3434, allocations: 91.42 kB / 429.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3435, allocations: 31.05 kB / 429.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.3435, allocations: 3.375 kB / 429.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.3435, allocations: 322.3 kB / 429.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.3436, allocations: 16.56 kB / 429.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.3436, allocations: 61.23 kB / 429.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.3437, allocations: 31.77 kB / 429.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.3437, allocations: 0 / 429.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001194/0.3438, allocations: 114.2 kB / 430 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3438, allocations: 4 kB / 430 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3438, allocations: 0 / 430 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3438, allocations: 4 kB / 430 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.3439, allocations: 27.94 kB / 430 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3439, allocations: 6.359 kB / 430 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.344, allocations: 11.28 kB / 430 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.344, allocations: 7.062 kB / 430.1 MB, free: 14.65 MB / 314.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 5.498e-05/0.3441, allocations: 120.6 kB / 430.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3441, allocations: 7.906 kB / 430.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.3441, allocations: 7.688 kB / 430.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3441, allocations: 0 / 430.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3441, allocations: 3.953 kB / 430.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3441, allocations: 8.641 kB / 430.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.3445, allocations: 404.5 kB / 430.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3445, allocations: 6.078 kB / 430.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.3446, allocations: 19.94 kB / 430.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3446, allocations: 4 kB / 430.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3446, allocations: 6.75 kB / 430.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3446, allocations: 4.156 kB / 430.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3446, allocations: 9.344 kB / 430.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3448, allocations: 281.8 kB / 430.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.3449, allocations: 89.03 kB / 431 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3449, allocations: 7.625 kB / 431 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.345, allocations: 3.953 kB / 431 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.345, allocations: 12.05 kB / 431 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.345, allocations: 6.109 kB / 431 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.084e-05/0.345, allocations: 92.22 kB / 431.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.345, allocations: 0 / 431.1 MB, free: 13.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.3453, allocations: 19.38 kB / 431.1 MB, free: 13.49 MB / 314.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 9.039e-05/0.3454, allocations: 103.2 kB / 431.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3455, allocations: 56.23 kB / 431.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3455, allocations: 4.188 kB / 431.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.3455, allocations: 31.61 kB / 431.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3457, allocations: 11.84 kB / 431.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3462, allocations: 392.5 kB / 431.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3463, allocations: 0.6965 MB / 432.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3464, allocations: 9.234 kB / 432.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.3464, allocations: 11.44 kB / 432.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3464, allocations: 3.938 kB / 432.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Templates: time 0.002128/0.3485, allocations: 0.5945 MB / 433 MB, free: 11.6 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)