Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004304/0.004303, allocations: 177.3 kB / 7.453 MB, free: 2.512 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.295/1.295, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00171/0.00171, allocations: 124.4 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.467e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09415, allocations: 38.76 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2959/0.3901, allocations: 77.79 MB / 378.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.3905, allocations: 78.14 kB / 378.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1694/0.5599, allocations: 59.22 MB / 437.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001987/0.5602, allocations: 52 kB / 437.6 MB, free: 1.43 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01287/0.5731, allocations: 2.961 MB / 440.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5731, allocations: 11.97 kB / 440.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.5834, allocations: 1.607 MB / 442.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.596, allocations: 3.569 MB / 445.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.5964, allocations: 100 kB / 445.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/0.5985, allocations: 167.8 kB / 446.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01205/0.6106, allocations: 4.68 MB / 450.7 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.6297, allocations: 7.303 MB / 458 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.63, allocations: 63.41 kB / 458.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/0.6314, allocations: 28 kB / 458.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/0.6332, allocations: 0.831 MB / 459 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.8728, allocations: 40.58 MB / 499.5 MB, free: 96.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.8764, allocations: 2.408 MB / 0.4902 GB, free: 95.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.8782, allocations: 1.532 MB / 0.4917 GB, free: 95.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008624/0.8868, allocations: 5.436 MB / 0.497 GB, free: 93.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.8869, allocations: 44.91 kB / 0.497 GB, free: 93.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=113): time 1.044e-05/0.887, allocations: 0 / 0.497 GB, free: 93.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.04172/0.9287, allocations: 13.93 MB / 0.5106 GB, free: 91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.9288, allocations: 143.6 kB / 0.5108 GB, free: 90.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.9332, allocations: 2.484 MB / 0.5132 GB, free: 89.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005108/0.9337, allocations: 25.7 kB / 0.5132 GB, free: 89.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.935, allocations: 2.281 MB / 0.5154 GB, free: 88.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007074/0.9357, allocations: 0.5704 MB / 0.516 GB, free: 87.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.9359, allocations: 0 / 0.516 GB, free: 87.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003178/0.9363, allocations: 0.5827 MB / 0.5166 GB, free: 87.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/0.9392, allocations: 2.355 MB / 0.5189 GB, free: 86.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.944, allocations: 5.62 MB / 0.5244 GB, free: 81.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005324/0.9494, allocations: 3.613 MB / 0.5279 GB, free: 80.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.284e-05/0.9495, allocations: 33.72 kB / 0.5279 GB, free: 80.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.02799/0.9775, allocations: 10.45 MB / 0.5381 GB, free: 72.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.9776, allocations: 4 kB / 0.5381 GB, free: 72.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.9777, allocations: 116 kB / 0.5382 GB, free: 72.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.9918, allocations: 3.791 MB / 0.5419 GB, free: 69.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/0.9965, allocations: 1.188 MB / 0.5431 GB, free: 68.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/1.016, allocations: 12.28 MB / 0.5551 GB, free: 58.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/1.022, allocations: 204.3 kB / 0.5553 GB, free: 57.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.023, allocations: 341.7 kB / 0.5556 GB, free: 57.64 MB / 346.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.002325/1.026, allocations: 390.7 kB / 0.556 GB, free: 57.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009469/1.027, allocations: 244.8 kB / 0.5562 GB, free: 57.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/1.046, allocations: 6.424 MB / 0.5625 GB, free: 51.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/1.046, allocations: 12 kB / 0.5625 GB, free: 51.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-05/1.046, allocations: 8 kB / 0.5625 GB, free: 51.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.641e-05/1.046, allocations: 11.97 kB / 0.5625 GB, free: 51.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/1.08, allocations: 12.8 MB / 0.575 GB, free: 38.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/1.08, allocations: 3.844 kB / 0.575 GB, free: 38.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.081, allocations: 207.7 kB / 0.5752 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01496/1.096, allocations: 4.061 MB / 0.5792 GB, free: 33.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005391/1.097, allocations: 27.95 kB / 0.5792 GB, free: 33.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/1.116, allocations: 12.08 MB / 0.591 GB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.116, allocations: 11.92 kB / 0.591 GB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02262/1.138, allocations: 10.14 MB / 0.6009 GB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.139, allocations: 301.7 kB / 0.6012 GB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/1.141, allocations: 19.98 kB / 0.6012 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.143, allocations: 103.8 kB / 0.6013 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/1.143, allocations: 80.58 kB / 0.6014 GB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.144, allocations: 47.09 kB / 0.6015 GB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003751/1.147, allocations: 1.654 MB / 0.6031 GB, free: 9.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006773/1.154, allocations: 0.7669 MB / 0.6038 GB, free: 8.562 MB / 346.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.0006593/1.155, allocations: 147 kB / 0.604 GB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01238/1.167, allocations: 6.531 MB / 0.6103 GB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.167, allocations: 0 / 0.6103 GB, free: 1.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1654/1.333, allocations: 2.996 MB / 0.6133 GB, free: 113.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.334, allocations: 222.8 kB / 0.6135 GB, free: 113.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.348, allocations: 6.763 MB / 0.6201 GB, free: 112.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/1.351, allocations: 2.748 MB / 0.6228 GB, free: 111.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.532e-06/1.351, allocations: 3.75 kB / 0.6228 GB, free: 111.6 MB / 346.7 MB Notification: Performance of Templates: time 0.07457/1.426, allocations: 41.56 MB / 0.6634 GB, free: 100.2 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)