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.0009816/0.0009817, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.244/1.244, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001648/0.001647, allocations: 106.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.423e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0702/0.07023, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3556, allocations: 65.66 MB / 373.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3559, allocations: 62.66 kB / 373.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003546/0.3594, allocations: 1.323 MB / 374.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3594, allocations: 0 / 374.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.3595, allocations: 0 / 374.7 MB, free: 9.402 MB / 266.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.0003267/0.3598, allocations: 341.8 kB / 375 MB, free: 9.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3598, allocations: 8.031 kB / 375 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3599, allocations: 8.531 kB / 375 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3601, allocations: 182.4 kB / 375.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3601, allocations: 4 kB / 375.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3601, allocations: 11.56 kB / 375.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3603, allocations: 70.31 kB / 375.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3603, allocations: 3.906 kB / 375.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3603, allocations: 3.312 kB / 375.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3603, allocations: 4 kB / 375.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.3604, allocations: 34.73 kB / 375.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.3611, allocations: 384.2 kB / 375.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.3612, allocations: 52.64 kB / 375.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.3612, allocations: 26.06 kB / 375.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.3612, allocations: 0 / 375.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3612, allocations: 30.56 kB / 375.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3613, allocations: 0 / 375.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006898/0.3619, allocations: 0.5053 MB / 376.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.362, allocations: 51.41 kB / 376.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.3621, allocations: 111.8 kB / 376.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3621, allocations: 25.7 kB / 376.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.3622, allocations: 95.47 kB / 376.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3622, allocations: 38.08 kB / 376.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3622, allocations: 4 kB / 376.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3623, allocations: 326.1 kB / 377 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.3624, allocations: 13.69 kB / 377 MB, free: 6.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.3624, allocations: 54.97 kB / 377 MB, free: 6.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.401e-05/0.3625, allocations: 34.61 kB / 377.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3625, allocations: 0 / 377.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000143/0.3626, allocations: 107.9 kB / 377.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3627, allocations: 4 kB / 377.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3627, allocations: 4 kB / 377.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3627, allocations: 0 / 377.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.3628, allocations: 23.98 kB / 377.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3628, allocations: 3.938 kB / 377.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.3629, allocations: 12.17 kB / 377.2 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3629, allocations: 4 kB / 377.2 MB, free: 6.719 MB / 266.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 () * 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 7.073e-05/0.3629, allocations: 108.4 kB / 377.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.363, allocations: 11.42 kB / 377.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.363, allocations: 16.17 kB / 377.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.363, allocations: 0 / 377.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.363, allocations: 0 / 377.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.363, allocations: 0 / 377.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.3635, allocations: 415.4 kB / 377.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3635, allocations: 0 / 377.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.3636, allocations: 16 kB / 377.8 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3636, allocations: 4 kB / 377.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3636, allocations: 3.984 kB / 377.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3637, allocations: 4.625 kB / 377.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3637, allocations: 8.109 kB / 377.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3639, allocations: 289.5 kB / 378.1 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.364, allocations: 89 kB / 378.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.364, allocations: 3.906 kB / 378.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.3641, allocations: 11.94 kB / 378.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.3641, allocations: 7.953 kB / 378.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3641, allocations: 12.05 kB / 378.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.3642, allocations: 90.53 kB / 378.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3642, allocations: 0 / 378.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.3644, allocations: 16 kB / 378.3 MB, free: 5.562 MB / 266.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 () * 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.0001241/0.3646, allocations: 98.25 kB / 378.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.3647, allocations: 56.98 kB / 378.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3647, allocations: 0 / 378.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.3647, allocations: 37.56 kB / 378.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.365, allocations: 6.938 kB / 378.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.3655, allocations: 254.9 kB / 378.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3657, allocations: 0.6965 MB / 379.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.655e-05/0.3658, allocations: 4.438 kB / 379.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.3658, allocations: 19.42 kB / 379.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3658, allocations: 3.938 kB / 379.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of Templates: time 0.002502/0.3683, allocations: 0.6046 MB / 380.1 MB, free: 3.766 MB / 266.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)