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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005572/0.005572, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 200.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.6 MB, free: 4.551 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 50.78 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1407, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00875/0.1495, allocations: 7.032 MB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.1556, allocations: 3.139 MB / 383.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008165/0.1565, allocations: 31.94 kB / 383.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.1585, allocations: 0.899 MB / 384.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.1618, allocations: 1.397 MB / 385.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.163, allocations: 0.5186 MB / 386.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.1667, allocations: 2.727 MB / 388.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.1683, allocations: 1.337 MB / 390.3 MB, free: 176 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.1695, allocations: 0.8682 MB / 391.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.1717, allocations: 2.022 MB / 393.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.172, allocations: 180 kB / 393.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.1735, allocations: 0.971 MB / 394.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000945/0.1745, allocations: 1.134 MB / 395.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.1756, allocations: 1.305 MB / 396.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.1802, allocations: 4.443 MB / 401.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1802, allocations: 0 / 401.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1802, allocations: 0 / 401.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.174e-05/0.1803, allocations: 0 / 401.2 MB, free: 5.215 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.007121/0.1874, allocations: 3.35 MB / 404.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1875, allocations: 8.031 kB / 404.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.1933, allocations: 1.672 MB / 406.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.1971, allocations: 1.577 MB / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.1972, allocations: 127.2 kB / 407.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.1976, allocations: 167.9 kB / 408.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009671/0.2073, allocations: 6.592 MB / 414.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.2074, allocations: 39.7 kB / 414.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.2077, allocations: 83.89 kB / 414.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001968/0.2096, allocations: 1.331 MB / 416.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009566/0.2192, allocations: 5.843 MB / 422 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.2484, allocations: 28.01 MB / 450 MB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2184/0.4668, allocations: 2.774 MB / 452.7 MB, free: 70.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.469, allocations: 1.307 MB / 454.1 MB, free: 70.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.4697, allocations: 0.6304 MB / 454.7 MB, free: 69.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4697, allocations: 53.69 kB / 454.7 MB, free: 69.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.627e-06/0.4698, allocations: 0.75 kB / 454.7 MB, free: 69.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.06728/0.537, allocations: 21.18 MB / 475.9 MB, free: 62.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.5371, allocations: 175.2 kB / 476.1 MB, free: 62.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.5401, allocations: 2.808 MB / 478.9 MB, free: 59.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001991/0.5403, allocations: 49.7 kB / 478.9 MB, free: 59.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/0.5411, allocations: 2.171 MB / 481.1 MB, free: 57.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/0.5416, allocations: 0.6572 MB / 481.8 MB, free: 56.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.5426, allocations: 1.004 MB / 482.8 MB, free: 55.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.5426, allocations: 305.1 kB / 483.1 MB, free: 55.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.5449, allocations: 2.227 MB / 485.3 MB, free: 53.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.5481, allocations: 5.16 MB / 490.5 MB, free: 46.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/0.5543, allocations: 7.967 MB / 498.4 MB, free: 37.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-05/0.5544, allocations: 32 kB / 498.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01833/0.5727, allocations: 10.31 MB / 0.4968 GB, free: 26.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.5728, allocations: 51.91 kB / 0.4969 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.245e-05/0.5729, allocations: 104 kB / 0.497 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.5834, allocations: 3.426 MB / 0.5003 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.5867, allocations: 1.088 MB / 0.5014 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.6024, allocations: 12.85 MB / 0.514 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.6063, allocations: 335.5 kB / 0.5143 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004616/0.6067, allocations: 308 kB / 0.5146 GB, free: 8.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[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 (577): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00183/0.6086, allocations: 1.461 MB / 0.516 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.609, allocations: 262.2 kB / 0.5162 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.623, allocations: 6 MB / 0.5221 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/0.623, allocations: 35.27 kB / 0.5221 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.6231, allocations: 12 kB / 0.5221 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.6231, allocations: 3.984 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/0.653, allocations: 13.21 MB / 0.5351 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.6531, allocations: 8 kB / 0.5351 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6543, allocations: 231.6 kB / 0.5353 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/0.6672, allocations: 4.008 MB / 0.5392 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000345/0.6676, allocations: 47.95 kB / 0.5392 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.6877, allocations: 12.83 MB / 0.5518 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6877, allocations: 4 kB / 0.5518 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02202/0.7098, allocations: 10.1 MB / 0.5616 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.7108, allocations: 323.1 kB / 0.5619 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007423/0.7116, allocations: 39.98 kB / 0.562 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/0.7141, allocations: 183.7 kB / 0.5622 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/0.7146, allocations: 104.8 kB / 0.5623 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.7148, allocations: 55.8 kB / 0.5623 GB, free: 7.219 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002753/0.7176, allocations: 1.742 MB / 0.564 GB, free: 5.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7176, allocations: 4 kB / 0.564 GB, free: 5.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004233/0.7218, allocations: 0.8203 MB / 0.5648 GB, free: 4.645 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004562/0.7223, allocations: 170.7 kB / 0.565 GB, free: 4.473 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.01078/0.7331, allocations: 6.279 MB / 0.5711 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7331, allocations: 0 / 0.5711 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005337/0.7385, allocations: 2.894 MB / 0.5739 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.7406, allocations: 301.5 kB / 0.5742 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.7514, allocations: 7.403 MB / 0.5815 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.7538, allocations: 2.334 MB / 0.5837 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003253/0.7571, allocations: 1.507 MB / 0.5852 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.7575, allocations: 191.4 kB / 0.5854 GB, free: 15.28 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7576, allocations: 0 / 0.5854 GB, free: 15.28 MB / 462.1 MB Notification: Performance of Templates: time 0.06758/0.8251, allocations: 38.64 MB / 0.6231 GB, free: 8.656 MB / 494.1 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)