Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008796/0.0008795, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.005618/0.005618, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005383/0.0005384, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 47.59 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01337/0.2723, allocations: 13.44 MB / 340.5 MB, free: 5.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009669/0.2821, allocations: 4.348 MB / 344.8 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.285, allocations: 51.88 kB / 344.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.2858, allocations: 278.8 kB / 345.1 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.289, allocations: 1.273 MB / 346.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2901, allocations: 499.2 kB / 346.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005291/0.2954, allocations: 4.494 MB / 351.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.2978, allocations: 1.642 MB / 353 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009237/0.2987, allocations: 0.6535 MB / 353.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3001, allocations: 1.257 MB / 355 MB, free: 7.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.3003, allocations: 88 kB / 355 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3019, allocations: 0.9397 MB / 356 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009359/0.3028, allocations: 1.056 MB / 357 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.3039, allocations: 1.228 MB / 358.3 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.3077, allocations: 4.128 MB / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3077, allocations: 0 / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3078, allocations: 0 / 362.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.858e-05/0.3078, allocations: 0 / 362.4 MB, free: 15.88 MB / 302.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.005711/0.3135, allocations: 2.739 MB / 365.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3136, allocations: 8.031 kB / 365.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/0.3196, allocations: 1.701 MB / 366.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.3226, allocations: 1.565 MB / 368.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/0.3227, allocations: 123.1 kB / 368.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.323, allocations: 171.8 kB / 368.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009361/0.3324, allocations: 6.6 MB / 375.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.22e-05/0.3325, allocations: 43.64 kB / 375.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/0.3328, allocations: 83.89 kB / 375.4 MB, free: 2.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.3347, allocations: 1.327 MB / 376.7 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009653/0.3444, allocations: 5.847 MB / 382.6 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.3751, allocations: 28.11 MB / 410.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005861/0.381, allocations: 2.752 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.3825, allocations: 1.274 MB / 414.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/0.3831, allocations: 0.6278 MB / 415.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3832, allocations: 51.05 kB / 415.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.667e-06/0.3832, allocations: 0 / 415.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07031/0.4535, allocations: 20.6 MB / 436 MB, free: 4.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.4537, allocations: 145.5 kB / 436.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.4577, allocations: 2.844 MB / 439 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/0.4581, allocations: 45.7 kB / 439 MB, free: 1.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4596, allocations: 2.114 MB / 441.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.4604, allocations: 0.5977 MB / 441.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.4609, allocations: 420.7 kB / 442.2 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.461, allocations: 305.1 kB / 442.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.4642, allocations: 2.215 MB / 444.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/0.469, allocations: 5.189 MB / 449.9 MB, free: 4.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2347/0.7038, allocations: 7.988 MB / 457.9 MB, free: 105.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.662e-05/0.7039, allocations: 30.31 kB / 457.9 MB, free: 105.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02333/0.7272, allocations: 10.33 MB / 468.2 MB, free: 102.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.7273, allocations: 50.88 kB / 468.3 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-05/0.7274, allocations: 108.4 kB / 468.4 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/0.7387, allocations: 3.502 MB / 471.9 MB, free: 101.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.7421, allocations: 1.104 MB / 473 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.7575, allocations: 12.04 MB / 485 MB, free: 89.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/0.7614, allocations: 333.1 kB / 485.3 MB, free: 88.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005772/0.762, allocations: 315.8 kB / 485.6 MB, free: 88.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (585): * Single equations (assignments): 575 * Array equations: 3 * 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.001939/0.7639, allocations: 1.465 MB / 487.1 MB, free: 87.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.7643, allocations: 250.4 kB / 487.4 MB, free: 87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.7787, allocations: 6.04 MB / 493.4 MB, free: 80.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/0.7788, allocations: 16 kB / 493.4 MB, free: 80.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.7788, allocations: 8 kB / 493.4 MB, free: 80.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/0.7789, allocations: 7.969 kB / 493.4 MB, free: 80.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02642/0.8053, allocations: 13.22 MB / 0.4948 GB, free: 67.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/0.8054, allocations: 0 / 0.4948 GB, free: 67.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.8065, allocations: 235.7 kB / 0.495 GB, free: 67.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/0.8183, allocations: 4.135 MB / 0.499 GB, free: 63.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/0.8187, allocations: 46 kB / 0.4991 GB, free: 63.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.834, allocations: 12.09 MB / 0.5109 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.834, allocations: 0 / 0.5109 GB, free: 51.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/0.8527, allocations: 9.961 MB / 0.5206 GB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/0.8534, allocations: 301.7 kB / 0.5209 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.8538, allocations: 39.98 kB / 0.5209 GB, free: 40.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.8554, allocations: 183.7 kB / 0.5211 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/0.8558, allocations: 112.8 kB / 0.5212 GB, free: 40.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.856, allocations: 50.27 kB / 0.5213 GB, free: 40.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002085/0.8581, allocations: 1.77 MB / 0.523 GB, free: 38.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8581, allocations: 3.938 kB / 0.523 GB, free: 38.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003782/0.8619, allocations: 0.8295 MB / 0.5238 GB, free: 37.77 MB / 382.1 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 (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.0004488/0.8623, allocations: 159.1 kB / 0.524 GB, free: 37.61 MB / 382.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.009192/0.8715, allocations: 6.224 MB / 0.53 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.8715, allocations: 288 / 0.53 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004476/0.876, allocations: 2.861 MB / 0.5328 GB, free: 28.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.8784, allocations: 280 kB / 0.5331 GB, free: 27.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.8896, allocations: 8.691 MB / 0.5416 GB, free: 19.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.8914, allocations: 2.319 MB / 0.5439 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003259/0.8947, allocations: 1.527 MB / 0.5453 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.8952, allocations: 191.4 kB / 0.5455 GB, free: 15.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.8952, allocations: 4 kB / 0.5455 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Templates: time 0.06374/0.959, allocations: 39.21 MB / 0.5838 GB, free: 7.988 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)