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.001345/0.001345, allocations: 166.6 kB / 7.636 MB, free: 1.418 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.298/1.298, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001868/0.001868, allocations: 99.52 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.502e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06589/0.06592, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.3535, allocations: 77.85 MB / 378.8 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.3538, allocations: 88.33 kB / 378.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1555/0.5093, allocations: 60.25 MB / 439.2 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5093, allocations: 0 / 439.2 MB, free: 108 kB / 314.7 MB Notification: Performance of Transformations before backend: time 8.97e-05/0.5094, allocations: 52 kB / 439.2 MB, free: 56 kB / 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.006966/0.5164, allocations: 3.031 MB / 442.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5165, allocations: 8.031 kB / 442.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008375/0.5248, allocations: 1.997 MB / 444.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/0.5342, allocations: 3.53 MB / 447.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.553e-05/0.5344, allocations: 92 kB / 447.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.5349, allocations: 160 kB / 448 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007572/0.5425, allocations: 4.535 MB / 452.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.5526, allocations: 7.17 MB / 459.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.5527, allocations: 59.41 kB / 459.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.5531, allocations: 32 kB / 459.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.5542, allocations: 0.7729 MB / 460.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2524/0.8066, allocations: 39.97 MB / 0.4888 GB, free: 58.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.8101, allocations: 2.32 MB / 0.4911 GB, free: 57.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.812, allocations: 1.367 MB / 0.4924 GB, free: 57.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.8127, allocations: 0.6266 MB / 0.4931 GB, free: 57.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.8128, allocations: 45.72 kB / 0.4931 GB, free: 57.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 5.099e-06/0.8128, allocations: 1.594 kB / 0.4931 GB, free: 57.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=152): time 0.03783/0.8507, allocations: 16 MB / 0.5087 GB, free: 55.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.8508, allocations: 144.7 kB / 0.5089 GB, free: 55.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.8545, allocations: 2.451 MB / 0.5113 GB, free: 54.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004253/0.8549, allocations: 25.7 kB / 0.5113 GB, free: 54.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.8562, allocations: 2.378 MB / 0.5136 GB, free: 52.44 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.8568, allocations: 0.5862 MB / 0.5142 GB, free: 52.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.857, allocations: 0 / 0.5142 GB, free: 52.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.8573, allocations: 0.5867 MB / 0.5147 GB, free: 51.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.8599, allocations: 2.278 MB / 0.517 GB, free: 50.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003788/0.8637, allocations: 5.55 MB / 0.5224 GB, free: 45.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/0.8676, allocations: 3.512 MB / 0.5258 GB, free: 44.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.847e-05/0.8677, allocations: 33.66 kB / 0.5259 GB, free: 44.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.02315/0.8908, allocations: 10.79 MB / 0.5364 GB, free: 41.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.891, allocations: 55.66 kB / 0.5364 GB, free: 41.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.941e-05/0.8911, allocations: 120.6 kB / 0.5366 GB, free: 41.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/0.9041, allocations: 4.116 MB / 0.5406 GB, free: 38.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/0.9079, allocations: 1.206 MB / 0.5418 GB, free: 37.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.9257, allocations: 12.7 MB / 0.5542 GB, free: 26.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/0.9305, allocations: 264.4 kB / 0.5544 GB, free: 26.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008755/0.9315, allocations: 342.3 kB / 0.5547 GB, free: 26.32 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 (638): * Single equations (assignments): 628 * 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.000844/0.9323, allocations: 396.6 kB / 0.5551 GB, free: 25.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.9328, allocations: 248.7 kB / 0.5553 GB, free: 25.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/0.9492, allocations: 6.741 MB / 0.5619 GB, free: 19.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/0.9493, allocations: 20 kB / 0.562 GB, free: 19.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.641e-05/0.9493, allocations: 12 kB / 0.562 GB, free: 19.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/0.9494, allocations: 8.531 kB / 0.562 GB, free: 19.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02751/0.9769, allocations: 13.92 MB / 0.5756 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/0.977, allocations: 8 kB / 0.5756 GB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.9781, allocations: 223.6 kB / 0.5758 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/0.9917, allocations: 4.665 MB / 0.5803 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005348/0.9923, allocations: 23.97 kB / 0.5804 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/1.013, allocations: 12.69 MB / 0.5928 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/1.013, allocations: 4.328 kB / 0.5928 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2397/1.252, allocations: 10.85 MB / 0.6034 GB, free: 92.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000986/1.254, allocations: 304.9 kB / 0.6036 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/1.254, allocations: 14.03 kB / 0.6037 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/1.256, allocations: 175.6 kB / 0.6038 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/1.256, allocations: 103.3 kB / 0.6039 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.256, allocations: 49.39 kB / 0.604 GB, free: 92.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002773/1.259, allocations: 1.621 MB / 0.6056 GB, free: 92.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.259, allocations: 0 / 0.6056 GB, free: 92.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005275/1.264, allocations: 0.7805 MB / 0.6063 GB, free: 92.48 MB / 362.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 (102): * Single equations (assignments): 92 * 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.000522/1.265, allocations: 141.4 kB / 0.6065 GB, free: 92.39 MB / 362.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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01062/1.276, allocations: 6.582 MB / 0.6129 GB, free: 91.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.276, allocations: 3.312 kB / 0.6129 GB, free: 91.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005517/1.281, allocations: 3.148 MB / 0.616 GB, free: 90.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/1.283, allocations: 233.2 kB / 0.6162 GB, free: 90.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.295, allocations: 6.624 MB / 0.6226 GB, free: 89.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/1.297, allocations: 2.547 MB / 0.6251 GB, free: 89.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00372/1.301, allocations: 1.634 MB / 0.6267 GB, free: 88.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/1.301, allocations: 182.4 kB / 0.6269 GB, free: 88.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/1.301, allocations: 0 / 0.6269 GB, free: 88.9 MB / 362.7 MB Notification: Performance of Templates: time 0.0569/1.358, allocations: 39.03 MB / 0.665 GB, free: 69.22 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)