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") [: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.1+maint.om/package.mo): time 0.004494/0.004494, allocations: 178 kB / 7.452 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.258/1.258, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001886/0.001886, allocations: 123.8 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.691e-06/5.841e-06, allocations: 0 / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09332, allocations: 38.76 MB / 300.5 MB, free: 3.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/0.4008, allocations: 64.92 MB / 365.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.4011, allocations: 62.53 kB / 365.5 MB, free: 3.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.002925/0.404, allocations: 1.008 MB / 366.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.404, allocations: 0 / 366.5 MB, free: 2.652 MB / 250.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.0002692/0.4043, allocations: 345.9 kB / 366.8 MB, free: 2.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4044, allocations: 8.031 kB / 366.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.4044, allocations: 11.84 kB / 366.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4045, allocations: 181.5 kB / 367 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4046, allocations: 4 kB / 367 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.4046, allocations: 8 kB / 367 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/0.4047, allocations: 30.61 kB / 367.1 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.4048, allocations: 57.16 kB / 367.1 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4048, allocations: 0 / 367.1 MB, free: 1.957 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4049, allocations: 3.938 kB / 367.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4049, allocations: 3.906 kB / 367.1 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.4054, allocations: 351.6 kB / 367.5 MB, free: 1.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.4055, allocations: 43.95 kB / 367.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.4055, allocations: 18.75 kB / 367.5 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.4056, allocations: 0 / 367.5 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4056, allocations: 41.81 kB / 367.6 MB, free: 1.488 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4056, allocations: 4 kB / 367.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005621/0.4062, allocations: 478.6 kB / 368.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4062, allocations: 55.41 kB / 368.1 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.4063, allocations: 93.12 kB / 368.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4063, allocations: 25.8 kB / 368.2 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.4063, allocations: 107.9 kB / 368.3 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.4064, allocations: 31.31 kB / 368.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4064, allocations: 4 kB / 368.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.4064, allocations: 322.6 kB / 368.7 MB, free: 312 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.4065, allocations: 11.38 kB / 368.7 MB, free: 304 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.4065, allocations: 54.66 kB / 368.7 MB, free: 240 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.4066, allocations: 32.75 kB / 368.8 MB, free: 216 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.4066, allocations: 0 / 368.8 MB, free: 216 kB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001216/0.4067, allocations: 100.3 kB / 368.9 MB, free: 124 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4067, allocations: 4 kB / 368.9 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4067, allocations: 0 / 368.9 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4068, allocations: 4 kB / 368.9 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.4068, allocations: 23.98 kB / 368.9 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4069, allocations: 3.906 kB / 368.9 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.4069, allocations: 16.02 kB / 368.9 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4069, allocations: 7.938 kB / 368.9 MB, free: 64 kB / 250.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 0.0001137/0.407, allocations: 101 kB / 369 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.4071, allocations: 7.906 kB / 369 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.4071, allocations: 8.125 kB / 369 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4071, allocations: 0 / 369 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4071, allocations: 0 / 369 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4072, allocations: 4 kB / 369 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.4076, allocations: 378 kB / 369.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4077, allocations: 0 / 369.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4078, allocations: 23.92 kB / 369.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4078, allocations: 0 / 369.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4078, allocations: 4 kB / 369.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4078, allocations: 320 / 369.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4078, allocations: 8.156 kB / 369.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002591/0.4081, allocations: 280.4 kB / 369.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.4081, allocations: 85.02 kB / 369.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4082, allocations: 0 / 369.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.4082, allocations: 4 kB / 369.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.4083, allocations: 7.984 kB / 369.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.4083, allocations: 4.062 kB / 369.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-05/0.4083, allocations: 89.7 kB / 369.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.4086, allocations: 16 kB / 369.9 MB, free: 14.97 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.0001423/0.4087, allocations: 107.2 kB / 370 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.4088, allocations: 47.91 kB / 370.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4089, allocations: 3.125 kB / 370.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.159e-05/0.4089, allocations: 23.5 kB / 370.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.4091, allocations: 12.77 kB / 370.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.4096, allocations: 259.3 kB / 370.4 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.4099, allocations: 0.7036 MB / 371.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4099, allocations: 0 / 371.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of Templates: time 0.00255/0.4125, allocations: 0.6041 MB / 371.7 MB, free: 13.18 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)