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.8024/0.8024, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001659/0.001659, allocations: 151.4 kB / 144 MB, free: 9.82 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.439e-05, allocations: 0 / 173.8 MB, free: 11.9 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04903/0.04907, allocations: 25.17 MB / 199 MB, free: 2.676 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.2, allocations: 32.67 MB / 231.7 MB, free: 7.336 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.2002, allocations: 59.97 kB / 231.7 MB, free: 7.277 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00288/0.2031, allocations: 1.283 MB / 233 MB, free: 6.016 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2032, allocations: 2 kB / 233 MB, free: 6.016 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2032, allocations: 0 / 233 MB, free: 6.016 MB / 170.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.0002302/0.2034, allocations: 342.5 kB / 233.4 MB, free: 5.637 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2034, allocations: 8.031 kB / 233.4 MB, free: 5.629 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.2035, allocations: 12.84 kB / 233.4 MB, free: 5.625 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2036, allocations: 175 kB / 233.6 MB, free: 5.414 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2036, allocations: 4 kB / 233.6 MB, free: 5.41 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2037, allocations: 7.469 kB / 233.6 MB, free: 5.406 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.358e-05/0.2038, allocations: 33.11 kB / 233.6 MB, free: 5.375 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.2038, allocations: 57.69 kB / 233.7 MB, free: 5.312 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2039, allocations: 11.52 kB / 233.7 MB, free: 5.305 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2039, allocations: 3.953 kB / 233.7 MB, free: 5.301 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2039, allocations: 1.75 kB / 233.7 MB, free: 5.301 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.2044, allocations: 344.3 kB / 234 MB, free: 4.918 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.762e-05/0.2044, allocations: 54.47 kB / 234.1 MB, free: 4.855 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.2045, allocations: 16.86 kB / 234.1 MB, free: 4.836 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.2045, allocations: 1.5 kB / 234.1 MB, free: 4.836 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.059e-05/0.2045, allocations: 34.56 kB / 234.1 MB, free: 4.793 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2045, allocations: 0 / 234.1 MB, free: 4.793 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005217/0.205, allocations: 486 kB / 234.6 MB, free: 4.227 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.2051, allocations: 51.41 kB / 234.6 MB, free: 4.164 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.2051, allocations: 98.09 kB / 234.7 MB, free: 4.062 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.2051, allocations: 25.7 kB / 234.8 MB, free: 4.031 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2052, allocations: 105 kB / 234.9 MB, free: 3.926 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.2052, allocations: 35.55 kB / 234.9 MB, free: 3.891 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2052, allocations: 0 / 234.9 MB, free: 3.891 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.2053, allocations: 314.8 kB / 235.2 MB, free: 3.574 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.2053, allocations: 12 kB / 235.2 MB, free: 3.562 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.2054, allocations: 61.31 kB / 235.3 MB, free: 3.488 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.2054, allocations: 27.92 kB / 235.3 MB, free: 3.461 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2054, allocations: 4 kB / 235.3 MB, free: 3.457 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001088/0.2055, allocations: 96.47 kB / 235.4 MB, free: 3.359 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2055, allocations: 8 kB / 235.4 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2056, allocations: 1 kB / 235.4 MB, free: 3.352 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2056, allocations: 5.781 kB / 235.4 MB, free: 3.348 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.2057, allocations: 27.92 kB / 235.4 MB, free: 3.32 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2057, allocations: 4 kB / 235.4 MB, free: 3.316 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.2057, allocations: 4.094 kB / 235.5 MB, free: 3.312 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2057, allocations: 4.547 kB / 235.5 MB, free: 3.309 MB / 170.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 4.068e-05/0.2058, allocations: 108.9 kB / 235.6 MB, free: 3.195 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2058, allocations: 3.953 kB / 235.6 MB, free: 3.191 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.2058, allocations: 12.62 kB / 235.6 MB, free: 3.18 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2058, allocations: 0 / 235.6 MB, free: 3.18 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2058, allocations: 1.688 kB / 235.6 MB, free: 3.18 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2059, allocations: 0 / 235.6 MB, free: 3.18 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.2062, allocations: 383.1 kB / 236 MB, free: 2.746 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2062, allocations: 0 / 236 MB, free: 2.746 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/0.2063, allocations: 20 kB / 236 MB, free: 2.727 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2063, allocations: 0 / 236 MB, free: 2.727 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2063, allocations: 4.547 kB / 236 MB, free: 2.723 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2063, allocations: 8.141 kB / 236 MB, free: 2.715 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2063, allocations: 7.938 kB / 236 MB, free: 2.707 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.2065, allocations: 279 kB / 236.3 MB, free: 2.375 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.2065, allocations: 89 kB / 236.4 MB, free: 2.27 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2065, allocations: 3.984 kB / 236.4 MB, free: 2.266 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.2066, allocations: 4.562 kB / 236.4 MB, free: 2.262 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.2066, allocations: 8.062 kB / 236.4 MB, free: 2.254 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2066, allocations: 8 kB / 236.4 MB, free: 2.246 MB / 170.7 MB Notification: Performance of sorting global known variables: time 2.196e-05/0.2067, allocations: 85.3 kB / 236.5 MB, free: 2.164 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2067, allocations: 0.8438 kB / 236.5 MB, free: 2.164 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.2069, allocations: 16 kB / 236.5 MB, free: 2.148 MB / 170.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 8.209e-05/0.207, allocations: 103.2 kB / 236.6 MB, free: 2.039 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.2071, allocations: 47.94 kB / 236.6 MB, free: 1.992 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2071, allocations: 0 / 236.6 MB, free: 1.992 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.2071, allocations: 32.11 kB / 236.7 MB, free: 1.961 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2074, allocations: 11.09 kB / 236.7 MB, free: 1.953 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.2077, allocations: 252.7 kB / 236.9 MB, free: 1.684 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.2078, allocations: 0.6963 MB / 237.6 MB, free: 0.9609 MB / 170.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.2079, allocations: 4.672 kB / 237.6 MB, free: 0.957 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.2079, allocations: 11.44 kB / 237.6 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2079, allocations: 4 kB / 237.6 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of Templates: time 0.002131/0.21, allocations: 0.5429 MB / 238.2 MB, free: 428 kB / 170.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)