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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007731/0.007731, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.494/1.494, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001651/0.00165, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 16 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 38.76 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3485, allocations: 78.62 MB / 391.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.3488, allocations: 83.95 kB / 391.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3463/0.6951, allocations: 61.16 MB / 452.8 MB, free: 70.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6952, allocations: 0 / 452.8 MB, free: 70.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.6953, allocations: 52 kB / 452.8 MB, free: 70.67 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.008346/0.7037, allocations: 3.174 MB / 456 MB, free: 67.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7037, allocations: 8.031 kB / 456 MB, free: 67.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007638/0.7114, allocations: 1.993 MB / 458 MB, free: 65.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009024/0.7204, allocations: 3.542 MB / 461.5 MB, free: 61.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.7206, allocations: 213.4 kB / 461.7 MB, free: 61.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.7218, allocations: 279.8 kB / 462 MB, free: 61.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.7331, allocations: 7.951 MB / 470 MB, free: 52.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.7333, allocations: 59.47 kB / 470 MB, free: 52.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004075/0.7337, allocations: 147.9 kB / 470.2 MB, free: 52.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000934/0.7346, allocations: 0.7729 MB / 470.9 MB, free: 51.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.7447, allocations: 6.548 MB / 477.5 MB, free: 44.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.037/0.7817, allocations: 41.39 MB / 0.5067 GB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006094/0.7879, allocations: 2.956 MB / 0.5096 GB, free: 15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/0.7888, allocations: 0.6434 MB / 0.5102 GB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.7888, allocations: 43.12 kB / 0.5103 GB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.699e-06/0.7888, allocations: 0 / 0.5103 GB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.07832/0.8672, allocations: 23.14 MB / 0.5329 GB, free: 6.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.8673, allocations: 145.5 kB / 0.533 GB, free: 6.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/0.8717, allocations: 2.92 MB / 0.5358 GB, free: 3.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003756/0.8721, allocations: 45.7 kB / 0.5359 GB, free: 3.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.8737, allocations: 2.312 MB / 0.5381 GB, free: 1.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007523/0.8744, allocations: 0.6094 MB / 0.5387 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.8747, allocations: 108 kB / 0.5388 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003178/0.875, allocations: 0.525 MB / 0.5394 GB, free: 120 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1579/1.033, allocations: 2.389 MB / 0.5417 GB, free: 94.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/1.037, allocations: 5.555 MB / 0.5471 GB, free: 90.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/1.042, allocations: 3.569 MB / 0.5506 GB, free: 90.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.937e-05/1.042, allocations: 31.66 kB / 0.5506 GB, free: 90.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.02461/1.067, allocations: 11.48 MB / 0.5618 GB, free: 87.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/1.067, allocations: 55.94 kB / 0.5619 GB, free: 87.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.067, allocations: 110.3 kB / 0.562 GB, free: 87.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/1.08, allocations: 4.161 MB / 0.5661 GB, free: 86.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/1.084, allocations: 1.17 MB / 0.5672 GB, free: 86.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/1.103, allocations: 14.25 MB / 0.5811 GB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.108, allocations: 358.3 kB / 0.5815 GB, free: 79.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006589/1.108, allocations: 321.5 kB / 0.5818 GB, free: 78.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 606 * 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%),(2,100.0%),(3,88.9%),(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.002408/1.111, allocations: 1.598 MB / 0.5833 GB, free: 77.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/1.111, allocations: 278 kB / 0.5836 GB, free: 77.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/1.128, allocations: 6.963 MB / 0.5904 GB, free: 72.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/1.128, allocations: 17.09 kB / 0.5904 GB, free: 72.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-05/1.128, allocations: 11.94 kB / 0.5904 GB, free: 72.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/1.128, allocations: 12.42 kB / 0.5904 GB, free: 72.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.157, allocations: 14.66 MB / 0.6048 GB, free: 58.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.157, allocations: 0 / 0.6048 GB, free: 58.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.158, allocations: 235.7 kB / 0.605 GB, free: 58.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/1.172, allocations: 4.759 MB / 0.6096 GB, free: 53.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005265/1.172, allocations: 47.95 kB / 0.6097 GB, free: 53.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/1.191, allocations: 14.38 MB / 0.6237 GB, free: 38.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.191, allocations: 8 kB / 0.6237 GB, free: 38.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.212, allocations: 11.13 MB / 0.6346 GB, free: 27.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.214, allocations: 351.8 kB / 0.6349 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006101/1.215, allocations: 37.08 kB / 0.635 GB, free: 27.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.216, allocations: 191.7 kB / 0.6352 GB, free: 27.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004753/1.217, allocations: 112.8 kB / 0.6353 GB, free: 26.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.217, allocations: 52.45 kB / 0.6353 GB, free: 26.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002955/1.22, allocations: 2.036 MB / 0.6373 GB, free: 24.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.22, allocations: 0 / 0.6373 GB, free: 24.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00479/1.225, allocations: 0.9078 MB / 0.6382 GB, free: 23.93 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 94 * 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.000501/1.225, allocations: 169.7 kB / 0.6383 GB, free: 23.77 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01102/1.236, allocations: 6.873 MB / 0.6451 GB, free: 16.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.236, allocations: 0 / 0.6451 GB, free: 16.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005691/1.242, allocations: 3.216 MB / 0.6482 GB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.244, allocations: 310.8 kB / 0.6485 GB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.257, allocations: 9.045 MB / 0.6573 GB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/1.259, allocations: 2.56 MB / 0.6598 GB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003528/1.263, allocations: 1.615 MB / 0.6614 GB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/1.263, allocations: 199.4 kB / 0.6616 GB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/1.263, allocations: 0 / 0.6616 GB, free: 15.75 MB / 362.7 MB Notification: Performance of Templates: time 0.2554/1.519, allocations: 43.21 MB / 0.7038 GB, free: 93.26 MB / 362.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)