Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007084/0.007084, allocations: 164 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.346/1.346, allocations: 170.8 MB / 186.6 MB, free: 1.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001635/0.001635, allocations: 109.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003527, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2589, allocations: 38.76 MB / 312.9 MB, free: 38.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08965/0.3486, allocations: 65.77 MB / 378.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.3489, allocations: 63.97 kB / 378.7 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003658/0.3526, allocations: 1.313 MB / 380 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3526, allocations: 0 / 380 MB, free: 7.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3526, allocations: 7.938 kB / 380 MB, free: 7.398 MB / 282.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.0004208/0.3531, allocations: 351.2 kB / 380.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.3531, allocations: 12.03 kB / 380.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3532, allocations: 4 kB / 380.4 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3534, allocations: 178.9 kB / 380.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3534, allocations: 4 kB / 380.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3535, allocations: 11.98 kB / 380.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3536, allocations: 73.56 kB / 380.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3537, allocations: 0 / 380.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3537, allocations: 4 kB / 380.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3537, allocations: 4 kB / 380.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.3538, allocations: 35.98 kB / 380.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.3545, allocations: 383.4 kB / 381.1 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3546, allocations: 54.56 kB / 381.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3546, allocations: 4 kB / 381.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3547, allocations: 34.56 kB / 381.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3547, allocations: 0 / 381.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008499/0.3555, allocations: 0.5098 MB / 381.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3556, allocations: 51.41 kB / 381.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3557, allocations: 117.1 kB / 381.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3557, allocations: 25.7 kB / 381.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.3558, allocations: 99.89 kB / 382 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3559, allocations: 27.56 kB / 382 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.3559, allocations: 0 / 382 MB, free: 5.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.356, allocations: 326.8 kB / 382.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.3561, allocations: 20 kB / 382.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.3561, allocations: 59.23 kB / 382.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.3562, allocations: 27.98 kB / 382.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3562, allocations: 0 / 382.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.3564, allocations: 109.6 kB / 382.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3564, allocations: 4 kB / 382.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3564, allocations: 16.08 kB / 382.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.122e-05/0.3565, allocations: 0 / 382.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.3566, allocations: 31.92 kB / 382.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3566, allocations: 8.078 kB / 382.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.3566, allocations: 4.469 kB / 382.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3567, allocations: 4 kB / 382.6 MB, free: 4.523 MB / 282.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 0.0001101/0.3568, allocations: 129.7 kB / 382.7 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3568, allocations: 7.906 kB / 382.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.3569, allocations: 16.36 kB / 382.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3569, allocations: 3.938 kB / 382.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3569, allocations: 4 kB / 382.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3569, allocations: 0 / 382.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.3574, allocations: 398.6 kB / 383.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3574, allocations: 8.156 kB / 383.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.3575, allocations: 23.94 kB / 383.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3575, allocations: 0 / 383.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3575, allocations: 7.984 kB / 383.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3575, allocations: 0 / 383.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.3575, allocations: 7.953 kB / 383.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3579, allocations: 283.8 kB / 383.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.3579, allocations: 85.11 kB / 383.5 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3579, allocations: 8.062 kB / 383.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.358, allocations: 0 / 383.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.358, allocations: 19.88 kB / 383.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3581, allocations: 4 kB / 383.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.3581, allocations: 91.27 kB / 383.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3581, allocations: 0 / 383.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.3584, allocations: 20 kB / 383.7 MB, free: 3.273 MB / 282.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.0001393/0.3585, allocations: 99.25 kB / 383.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.3587, allocations: 55.86 kB / 383.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3587, allocations: 0 / 383.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.3587, allocations: 27.92 kB / 383.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.359, allocations: 12 kB / 383.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.3596, allocations: 409.9 kB / 384.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3599, allocations: 0.7043 MB / 385 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.3599, allocations: 4.438 kB / 385 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.3599, allocations: 11.44 kB / 385 MB, free: 1.887 MB / 282.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3599, allocations: 0 / 385 MB, free: 1.887 MB / 282.7 MB Notification: Performance of Templates: time 0.002698/0.3626, allocations: 0.6069 MB / 385.6 MB, free: 1.285 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1)