Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") [: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.6902/0.6902, 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.001724/0.001724, allocations: 160 kB / 143.7 MB, free: 4.922 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.729e-06, allocations: 0 / 173.4 MB, free: 23.01 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0647/0.06473, allocations: 25.17 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.1895, allocations: 32.84 MB / 231.5 MB, free: 4.422 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.1898, allocations: 63.56 kB / 231.5 MB, free: 4.422 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.007389/0.1972, allocations: 3.012 MB / 234.5 MB, free: 4.188 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1972, allocations: 3.75 kB / 234.5 MB, free: 4.188 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004523/0.1977, allocations: 456.5 kB / 235 MB, free: 3.797 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1977, allocations: 7.812 kB / 235 MB, free: 3.797 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.1978, allocations: 30.5 kB / 235 MB, free: 3.781 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1979, allocations: 192.7 kB / 235.2 MB, free: 3.566 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1979, allocations: 11.56 kB / 235.2 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.198, allocations: 11.75 kB / 235.2 MB, free: 3.562 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002189/0.1982, allocations: 120.1 kB / 235.3 MB, free: 3.559 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.1985, allocations: 182.5 kB / 235.5 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1985, allocations: 3.875 kB / 235.5 MB, free: 3.488 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1985, allocations: 5.953 kB / 235.5 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1985, allocations: 3.75 kB / 235.5 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/0.1994, allocations: 0.8159 MB / 236.3 MB, free: 2.949 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1996, allocations: 134.4 kB / 236.5 MB, free: 2.887 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.1997, allocations: 54.7 kB / 236.5 MB, free: 2.859 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1997, allocations: 0 / 236.5 MB, free: 2.859 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1997, allocations: 43.23 kB / 236.6 MB, free: 2.816 MB / 170.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1997, allocations: 0 / 236.6 MB, free: 2.816 MB / 170.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002475/0.2, allocations: 123.5 kB / 236.7 MB, free: 2.766 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2, allocations: 113.5 kB / 236.8 MB, free: 2.637 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.2001, allocations: 145.3 kB / 236.9 MB, free: 2.539 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2001, allocations: 25.7 kB / 237 MB, free: 2.508 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.2002, allocations: 155.1 kB / 237.1 MB, free: 2.379 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2002, allocations: 60.39 kB / 237.2 MB, free: 2.34 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.2002, allocations: 0 / 237.2 MB, free: 2.34 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.2003, allocations: 334.7 kB / 237.5 MB, free: 2.023 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.2004, allocations: 39.56 kB / 237.5 MB, free: 2.02 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.2005, allocations: 140.3 kB / 237.7 MB, free: 1.891 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.2005, allocations: 71.14 kB / 237.8 MB, free: 1.879 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2006, allocations: 3.844 kB / 237.8 MB, free: 1.879 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002515/0.2008, allocations: 197.5 kB / 238 MB, free: 1.824 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.2008, allocations: 8.906 kB / 238 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2008, allocations: 8.031 kB / 238 MB, free: 1.82 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2009, allocations: 7.875 kB / 238 MB, free: 1.816 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.2011, allocations: 68.28 kB / 238 MB, free: 1.809 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2011, allocations: 3.531 kB / 238 MB, free: 1.809 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.2012, allocations: 23.44 kB / 238.1 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2012, allocations: 14.31 kB / 238.1 MB, free: 1.793 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 5.884e-05/0.2013, allocations: 110.1 kB / 238.2 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.2014, allocations: 19.31 kB / 238.2 MB, free: 1.672 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.2014, allocations: 21.64 kB / 238.2 MB, free: 1.668 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2014, allocations: 4 kB / 238.2 MB, free: 1.664 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2015, allocations: 3.312 kB / 238.2 MB, free: 1.664 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2015, allocations: 3.906 kB / 238.2 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.2018, allocations: 373.6 kB / 238.6 MB, free: 1.363 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2019, allocations: 5.203 kB / 238.6 MB, free: 1.363 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.2021, allocations: 38.06 kB / 238.6 MB, free: 1.359 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2021, allocations: 0 / 238.6 MB, free: 1.359 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.2021, allocations: 7.688 kB / 238.7 MB, free: 1.355 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2021, allocations: 9.047 kB / 238.7 MB, free: 1.352 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2021, allocations: 0 / 238.7 MB, free: 1.352 MB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002613/0.2024, allocations: 407.5 kB / 239.1 MB, free: 1.031 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.2024, allocations: 90.16 kB / 239.2 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.2024, allocations: 9.453 kB / 239.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2026, allocations: 0 / 239.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.2026, allocations: 10.59 kB / 239.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2026, allocations: 3.875 kB / 239.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.104e-05/0.2027, allocations: 126.3 kB / 239.3 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000327/0.203, allocations: 45.94 kB / 239.3 MB, free: 0.8359 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.796e-05/0.2031, allocations: 99.2 kB / 239.4 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2033, allocations: 121.5 kB / 239.6 MB, free: 0.7383 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2033, allocations: 0.875 kB / 239.6 MB, free: 0.7383 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.2034, allocations: 50.53 kB / 239.6 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2037, allocations: 26.02 kB / 239.6 MB, free: 0.7227 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.2043, allocations: 477.8 kB / 240.1 MB, free: 412 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.2046, allocations: 0.7594 MB / 240.9 MB, free: 15.7 MB / 186.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2046, allocations: 0 / 240.9 MB, free: 15.7 MB / 186.7 MB Notification: Performance of Templates: time 0.003731/0.2084, allocations: 1.537 MB / 242.4 MB, free: 15.56 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1)