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.001179/0.001179, allocations: 170.4 kB / 12.72 MB, free: 2.594 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.512/1.512, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001701/0.001701, allocations: 99.53 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.486e-05, allocations: 0 / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09849, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.478, allocations: 78.52 MB / 386.2 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4784, allocations: 83.2 kB / 386.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1827/0.661, allocations: 61.2 MB / 447.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6611, allocations: 0 / 447.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001874/0.6613, allocations: 51.94 kB / 447.5 MB, free: 6.023 MB / 330.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.01434/0.6757, allocations: 3.027 MB / 450.5 MB, free: 2.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.6758, allocations: 12.03 kB / 450.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.6863, allocations: 1.997 MB / 452.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/0.6983, allocations: 3.53 MB / 456.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.6987, allocations: 217.4 kB / 456.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/0.7009, allocations: 275.9 kB / 456.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.7261, allocations: 7.899 MB / 464.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003468/0.7266, allocations: 55.47 kB / 464.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/0.7286, allocations: 147.9 kB / 464.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.7303, allocations: 0.7807 MB / 465.4 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2733/1.004, allocations: 6.442 MB / 471.9 MB, free: 79.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0441/1.048, allocations: 41.38 MB / 0.5012 GB, free: 51.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/1.054, allocations: 2.939 MB / 0.5041 GB, free: 51.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/1.056, allocations: 1.394 MB / 0.5055 GB, free: 50.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/1.056, allocations: 0.6376 MB / 0.5061 GB, free: 49.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.057, allocations: 46.75 kB / 0.5061 GB, free: 49.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 3.256e-06/1.057, allocations: 3.938 kB / 0.5061 GB, free: 49.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.05527/1.112, allocations: 18.26 MB / 0.524 GB, free: 45.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.112, allocations: 149.5 kB / 0.5241 GB, free: 45.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004659/1.117, allocations: 2.891 MB / 0.5269 GB, free: 44.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004673/1.117, allocations: 50.03 kB / 0.527 GB, free: 44.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.118, allocations: 2.309 MB / 0.5292 GB, free: 42.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007587/1.119, allocations: 0.6094 MB / 0.5298 GB, free: 42.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.12, allocations: 102.9 kB / 0.5299 GB, free: 41.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002463/1.12, allocations: 0.5226 MB / 0.5304 GB, free: 41.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.123, allocations: 2.358 MB / 0.5327 GB, free: 40.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/1.128, allocations: 5.515 MB / 0.5381 GB, free: 35.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004832/1.132, allocations: 3.555 MB / 0.5416 GB, free: 32.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.579e-05/1.132, allocations: 32 kB / 0.5416 GB, free: 32.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.02608/1.159, allocations: 11.37 MB / 0.5527 GB, free: 23.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-05/1.159, allocations: 56.03 kB / 0.5528 GB, free: 23.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000144/1.159, allocations: 112 kB / 0.5529 GB, free: 23.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01336/1.172, allocations: 4.103 MB / 0.5569 GB, free: 19.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/1.177, allocations: 1.169 MB / 0.558 GB, free: 18.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/1.196, allocations: 13.69 MB / 0.5714 GB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/1.201, allocations: 360.7 kB / 0.5717 GB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.203, allocations: 324 kB / 0.5721 GB, free: 4.289 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 () * 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.001141/1.204, allocations: 493.4 kB / 0.5725 GB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007797/1.205, allocations: 280.3 kB / 0.5728 GB, free: 3.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/1.223, allocations: 6.909 MB / 0.5795 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/1.223, allocations: 22.03 kB / 0.5796 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/1.223, allocations: 8 kB / 0.5796 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/1.223, allocations: 7.969 kB / 0.5796 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.296/1.519, allocations: 14.55 MB / 0.5938 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/1.519, allocations: 1.25 kB / 0.5938 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.52, allocations: 234 kB / 0.594 GB, free: 86.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.537, allocations: 4.648 MB / 0.5986 GB, free: 86.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005768/1.537, allocations: 40.5 kB / 0.5986 GB, free: 86.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/1.559, allocations: 13.77 MB / 0.612 GB, free: 85.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.56, allocations: 3.375 kB / 0.612 GB, free: 85.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/1.582, allocations: 11.05 MB / 0.6228 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.583, allocations: 346.7 kB / 0.6232 GB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006163/1.583, allocations: 39.61 kB / 0.6232 GB, free: 83.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.585, allocations: 192.6 kB / 0.6234 GB, free: 83.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/1.586, allocations: 124 kB / 0.6235 GB, free: 83.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.586, allocations: 48.61 kB / 0.6235 GB, free: 83.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003309/1.589, allocations: 2.004 MB / 0.6255 GB, free: 83.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.589, allocations: 0 / 0.6255 GB, free: 83.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005192/1.594, allocations: 0.9004 MB / 0.6264 GB, free: 83.04 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 (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.0005846/1.595, allocations: 168.9 kB / 0.6265 GB, free: 82.94 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.01207/1.607, allocations: 6.795 MB / 0.6332 GB, free: 80.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.607, allocations: 5.125 kB / 0.6332 GB, free: 80.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.613, allocations: 3.185 MB / 0.6363 GB, free: 78.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.615, allocations: 315.6 kB / 0.6366 GB, free: 78.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.628, allocations: 6.751 MB / 0.6432 GB, free: 76.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.63, allocations: 2.555 MB / 0.6457 GB, free: 75.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003967/1.634, allocations: 1.612 MB / 0.6473 GB, free: 75.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/1.635, allocations: 204.9 kB / 0.6475 GB, free: 75.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/1.635, allocations: 0 / 0.6475 GB, free: 75.11 MB / 362.7 MB Notification: Performance of Templates: time 0.06714/1.702, allocations: 43 MB / 0.6894 GB, free: 36.38 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)