Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [: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.001591/0.001591, allocations: 190 kB / 8.132 MB, free: 2.199 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.143/1.143, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001873/0.001873, allocations: 115.5 kB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.554e-06, allocations: 4 kB / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06904/0.06906, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.2683, allocations: 83.42 MB / 425.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.2685, allocations: 83.27 kB / 425.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1645/0.433, allocations: 59.22 MB / 484.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.4332, allocations: 52 kB / 484.8 MB, free: 7.848 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.008928/0.4421, allocations: 2.96 MB / 487.8 MB, free: 4.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4422, allocations: 8.031 kB / 487.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008837/0.451, allocations: 1.599 MB / 489.4 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009775/0.4608, allocations: 3.592 MB / 493 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.461, allocations: 91.94 kB / 493.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.4621, allocations: 163.9 kB / 493.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008563/0.4707, allocations: 4.676 MB / 497.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.4819, allocations: 7.311 MB / 0.4934 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.4821, allocations: 55.47 kB / 0.4934 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005943/0.4827, allocations: 28 kB / 0.4935 GB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.4838, allocations: 0.8233 MB / 0.4943 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1369/0.6207, allocations: 40.6 MB / 0.5339 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.6233, allocations: 2.398 MB / 0.5363 GB, free: 108.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.6248, allocations: 1.533 MB / 0.5377 GB, free: 108.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006843/0.6316, allocations: 5.439 MB / 0.5431 GB, free: 106.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.6317, allocations: 44.94 kB / 0.5431 GB, free: 106.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 3.858e-06/0.6317, allocations: 0 / 0.5431 GB, free: 106.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.03892/0.6706, allocations: 13.94 MB / 0.5567 GB, free: 104.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.6707, allocations: 147.8 kB / 0.5569 GB, free: 104.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.6738, allocations: 2.482 MB / 0.5593 GB, free: 103.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.6742, allocations: 27.27 kB / 0.5593 GB, free: 103.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000858/0.675, allocations: 2.281 MB / 0.5615 GB, free: 102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005135/0.6755, allocations: 0.5665 MB / 0.5621 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.6758, allocations: 0 / 0.5621 GB, free: 101.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.6761, allocations: 0.5862 MB / 0.5627 GB, free: 101.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.6788, allocations: 2.35 MB / 0.565 GB, free: 100.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/0.6834, allocations: 5.621 MB / 0.5704 GB, free: 94.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/0.6885, allocations: 3.603 MB / 0.574 GB, free: 93.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.899e-05/0.6886, allocations: 32.44 kB / 0.574 GB, free: 93.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.02551/0.7141, allocations: 10.45 MB / 0.5842 GB, free: 90.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7142, allocations: 6.375 kB / 0.5842 GB, free: 90.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.7143, allocations: 119.5 kB / 0.5843 GB, free: 90.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01542/0.7297, allocations: 3.791 MB / 0.588 GB, free: 90.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/0.7339, allocations: 1.193 MB / 0.5892 GB, free: 89.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.7535, allocations: 12.28 MB / 0.6012 GB, free: 82.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/0.7581, allocations: 205.5 kB / 0.6014 GB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/0.7587, allocations: 339.1 kB / 0.6017 GB, free: 81.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (632): * Single equations (assignments): 622 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007403/0.7594, allocations: 392.3 kB / 0.6021 GB, free: 81.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.7599, allocations: 247.6 kB / 0.6023 GB, free: 81.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01826/0.7781, allocations: 6.423 MB / 0.6086 GB, free: 76.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/0.7782, allocations: 16 kB / 0.6086 GB, free: 76.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.7782, allocations: 8 kB / 0.6086 GB, free: 76.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.7782, allocations: 11.12 kB / 0.6086 GB, free: 76.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02962/0.8079, allocations: 12.79 MB / 0.6211 GB, free: 64.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.8079, allocations: 7.844 kB / 0.6211 GB, free: 64.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.8091, allocations: 203.7 kB / 0.6213 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/0.8247, allocations: 4.064 MB / 0.6253 GB, free: 60.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.825, allocations: 35.95 kB / 0.6253 GB, free: 60.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/0.8434, allocations: 12.08 MB / 0.6371 GB, free: 47.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8434, allocations: 3.984 kB / 0.6371 GB, free: 47.87 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02238/0.8658, allocations: 10.14 MB / 0.647 GB, free: 37.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.8665, allocations: 297.8 kB / 0.6473 GB, free: 37.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/0.867, allocations: 19.98 kB / 0.6473 GB, free: 37.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.8688, allocations: 103.8 kB / 0.6474 GB, free: 37.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.8691, allocations: 76.55 kB / 0.6475 GB, free: 37.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.8693, allocations: 51.97 kB / 0.6475 GB, free: 37.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002059/0.8713, allocations: 1.654 MB / 0.6492 GB, free: 35.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004183/0.8755, allocations: 0.7708 MB / 0.6499 GB, free: 34.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004177/0.876, allocations: 143.8 kB / 0.65 GB, free: 34.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.8863, allocations: 6.526 MB / 0.6564 GB, free: 27.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8864, allocations: 7.938 kB / 0.6564 GB, free: 27.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005715/0.8921, allocations: 2.997 MB / 0.6594 GB, free: 24.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.8936, allocations: 237.3 kB / 0.6596 GB, free: 24.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.9047, allocations: 6.758 MB / 0.6662 GB, free: 17.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002667/0.9074, allocations: 2.755 MB / 0.6689 GB, free: 15 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9074, allocations: 0 / 0.6689 GB, free: 15 MB / 394.7 MB Notification: Performance of Templates: time 0.1548/1.062, allocations: 41.52 MB / 0.7094 GB, free: 121.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)