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") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001102/0.001102, allocations: 196.2 kB / 8.139 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.084/1.084, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.00172/0.00172, allocations: 112.9 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.44e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07265/0.07268, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.2633, allocations: 70.24 MB / 412.3 MB, free: 24.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001529/0.2635, allocations: 63.34 kB / 412.4 MB, free: 24.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.003108/0.2666, allocations: 0.9965 MB / 413.3 MB, free: 23.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2667, allocations: 1.344 kB / 413.4 MB, free: 23.96 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.0002262/0.2669, allocations: 345.4 kB / 413.7 MB, free: 23.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2669, allocations: 12.03 kB / 413.7 MB, free: 23.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.267, allocations: 8.656 kB / 413.7 MB, free: 23.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2671, allocations: 174.8 kB / 413.9 MB, free: 23.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.2671, allocations: 0.75 kB / 413.9 MB, free: 23.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2671, allocations: 6.188 kB / 413.9 MB, free: 23.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.855e-05/0.2672, allocations: 34.62 kB / 413.9 MB, free: 23.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.2673, allocations: 58.94 kB / 414 MB, free: 23.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2673, allocations: 11.28 kB / 414 MB, free: 23.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2674, allocations: 3 kB / 414 MB, free: 23.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2674, allocations: 0 / 414 MB, free: 23.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.2679, allocations: 343.8 kB / 414.3 MB, free: 22.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.2679, allocations: 53.33 kB / 414.4 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.268, allocations: 16.23 kB / 414.4 MB, free: 22.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.268, allocations: 0 / 414.4 MB, free: 22.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.848e-06/0.268, allocations: 36.06 kB / 414.4 MB, free: 22.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.268, allocations: 0 / 414.4 MB, free: 22.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004973/0.2685, allocations: 483.4 kB / 414.9 MB, free: 22.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.33e-05/0.2685, allocations: 51.41 kB / 415 MB, free: 22.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.456e-05/0.2686, allocations: 102.7 kB / 415.1 MB, free: 22.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.2686, allocations: 25.7 kB / 415.1 MB, free: 22.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.2686, allocations: 96.03 kB / 415.2 MB, free: 21.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.2687, allocations: 34.67 kB / 415.2 MB, free: 21.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2687, allocations: 0 / 415.2 MB, free: 21.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.2687, allocations: 322.7 kB / 415.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.2687, allocations: 21.28 kB / 415.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.2688, allocations: 61.22 kB / 415.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.2689, allocations: 28.66 kB / 415.6 MB, free: 21.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2689, allocations: 4 kB / 415.6 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001214/0.269, allocations: 88.2 kB / 415.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.269, allocations: 8 kB / 415.7 MB, free: 21.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.269, allocations: 0 / 415.7 MB, free: 21.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.269, allocations: 4 kB / 415.7 MB, free: 21.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.2691, allocations: 23.92 kB / 415.8 MB, free: 21.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2691, allocations: 4 kB / 415.8 MB, free: 21.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.2692, allocations: 0 / 415.8 MB, free: 21.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2692, allocations: 7.312 kB / 415.8 MB, free: 21.41 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 () * 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 3.887e-05/0.2693, allocations: 112.9 kB / 415.9 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.2693, allocations: 6.203 kB / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2693, allocations: 15.55 kB / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2693, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2693, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2693, allocations: 0 / 415.9 MB, free: 21.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2697, allocations: 378.2 kB / 416.3 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2697, allocations: 4 kB / 416.3 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2698, allocations: 19.98 kB / 416.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2698, allocations: 0 / 416.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2698, allocations: 4.547 kB / 416.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2698, allocations: 0 / 416.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2698, allocations: 5.75 kB / 416.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001641/0.27, allocations: 285.1 kB / 416.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.27, allocations: 85.11 kB / 416.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2701, allocations: 3.938 kB / 416.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.2702, allocations: 0 / 416.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.2702, allocations: 15.77 kB / 416.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2702, allocations: 4 kB / 416.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.092e-05/0.2702, allocations: 87.22 kB / 416.8 MB, free: 20.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.2705, allocations: 16 kB / 416.8 MB, free: 20.32 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 () * 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.888e-05/0.2706, allocations: 95.25 kB / 416.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.2707, allocations: 58.11 kB / 416.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2707, allocations: 0 / 416.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.2707, allocations: 25.03 kB / 417 MB, free: 20.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2709, allocations: 9.125 kB / 417 MB, free: 20.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.2713, allocations: 242.4 kB / 417.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2714, allocations: 0.7122 MB / 417.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2714, allocations: 0 / 417.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of Templates: time 0.002146/0.2736, allocations: 0.6176 MB / 418.5 MB, free: 18.56 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)