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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6904/0.6904, allocations: 110.8 MB / 118 MB, free: 14.59 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001797/0.001797, allocations: 156 kB / 143.7 MB, free: 4.918 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/7.003e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04072/0.04075, allocations: 25.17 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.158, allocations: 32.59 MB / 231.2 MB, free: 4.391 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000166/0.1582, allocations: 61.48 kB / 231.3 MB, free: 4.391 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.002858/0.161, allocations: 0.9814 MB / 232.2 MB, free: 4.332 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.161, allocations: 0 / 232.2 MB, free: 4.332 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.0002184/0.1613, allocations: 343.7 kB / 232.6 MB, free: 3.98 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1613, allocations: 7.469 kB / 232.6 MB, free: 3.98 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1614, allocations: 7.781 kB / 232.6 MB, free: 3.977 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1615, allocations: 182.2 kB / 232.8 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1615, allocations: 3.781 kB / 232.8 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1615, allocations: 3.781 kB / 232.8 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.1616, allocations: 31.12 kB / 232.8 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.1617, allocations: 61.44 kB / 232.9 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1617, allocations: 3.844 kB / 232.9 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1618, allocations: 0 / 232.9 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1618, allocations: 3.906 kB / 232.9 MB, free: 3.73 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.1623, allocations: 346.2 kB / 233.2 MB, free: 3.449 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.1624, allocations: 51.84 kB / 233.3 MB, free: 3.43 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.1624, allocations: 18.55 kB / 233.3 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1624, allocations: 3.312 kB / 233.3 MB, free: 3.422 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.1625, allocations: 34.5 kB / 233.3 MB, free: 3.379 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1625, allocations: 0 / 233.3 MB, free: 3.379 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005175/0.163, allocations: 481.1 kB / 233.8 MB, free: 2.934 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/0.163, allocations: 54.59 kB / 233.8 MB, free: 2.871 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.629e-05/0.1631, allocations: 94.97 kB / 233.9 MB, free: 2.781 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.1631, allocations: 25.7 kB / 234 MB, free: 2.75 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.1631, allocations: 100.9 kB / 234.1 MB, free: 2.656 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1631, allocations: 32.73 kB / 234.1 MB, free: 2.637 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1631, allocations: 0 / 234.1 MB, free: 2.637 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.1632, allocations: 320.8 kB / 234.4 MB, free: 2.32 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.1632, allocations: 21.31 kB / 234.4 MB, free: 2.316 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.209e-05/0.1633, allocations: 59.12 kB / 234.5 MB, free: 2.262 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.1633, allocations: 23.44 kB / 234.5 MB, free: 2.262 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1633, allocations: 0 / 234.5 MB, free: 2.262 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001314/0.1635, allocations: 101.8 kB / 234.6 MB, free: 2.215 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1635, allocations: 8.688 kB / 234.6 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1635, allocations: 0 / 234.6 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1635, allocations: 3.75 kB / 234.6 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.1636, allocations: 24.48 kB / 234.6 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1636, allocations: 3.906 kB / 234.7 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1637, allocations: 3.781 kB / 234.7 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1637, allocations: 3.75 kB / 234.7 MB, free: 2.211 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.488e-05/0.1637, allocations: 109 kB / 234.8 MB, free: 2.098 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1638, allocations: 11.27 kB / 234.8 MB, free: 2.094 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.1638, allocations: 8.062 kB / 234.8 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1638, allocations: 6.75 kB / 234.8 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1638, allocations: 0 / 234.8 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1638, allocations: 0 / 234.8 MB, free: 2.086 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.1641, allocations: 375.2 kB / 235.2 MB, free: 1.758 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1642, allocations: 0 / 235.2 MB, free: 1.758 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.1643, allocations: 22.86 kB / 235.2 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1643, allocations: 3.219 kB / 235.2 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1643, allocations: 4 kB / 235.2 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1643, allocations: 3.219 kB / 235.2 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1643, allocations: 3.25 kB / 235.2 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000152/0.1645, allocations: 283.1 kB / 235.5 MB, free: 1.484 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.1645, allocations: 84.2 kB / 235.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1645, allocations: 3.188 kB / 235.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1646, allocations: 0 / 235.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.1646, allocations: 13.55 kB / 235.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1646, allocations: 3.156 kB / 235.6 MB, free: 1.387 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.948e-05/0.1646, allocations: 86.03 kB / 235.7 MB, free: 1.312 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.1649, allocations: 21.66 kB / 235.7 MB, free: 1.309 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 7.918e-05/0.165, allocations: 102.5 kB / 235.8 MB, free: 1.215 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.1651, allocations: 44.38 kB / 235.8 MB, free: 1.211 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1651, allocations: 96 / 235.8 MB, free: 1.211 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.1651, allocations: 34.41 kB / 235.9 MB, free: 1.203 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1653, allocations: 7.75 kB / 235.9 MB, free: 1.203 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.1657, allocations: 247.8 kB / 236.1 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.1659, allocations: 0.7073 MB / 236.8 MB, free: 16.29 MB / 186.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1659, allocations: 0 / 236.8 MB, free: 16.29 MB / 186.7 MB Notification: Performance of Templates: time 0.002366/0.1683, allocations: 0.6191 MB / 237.4 MB, free: 16.22 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)