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.001096/0.001096, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.441/1.441, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.001196/0.001196, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2171, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01497/0.2322, allocations: 14.02 MB / 338.9 MB, free: 6.047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009101/0.2413, allocations: 4.312 MB / 343.2 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.2436, allocations: 55.81 kB / 343.2 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.2454, allocations: 0.849 MB / 344.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.2483, allocations: 1.277 MB / 345.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2494, allocations: 499.3 kB / 345.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.2538, allocations: 3.543 MB / 349.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.2557, allocations: 1.4 MB / 350.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.257, allocations: 0.8407 MB / 351.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.2586, allocations: 1.386 MB / 353 MB, free: 7.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.2588, allocations: 176 kB / 353.2 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2605, allocations: 0.9867 MB / 354.2 MB, free: 6.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2616, allocations: 1.161 MB / 355.3 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.2629, allocations: 1.316 MB / 356.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004797/0.2677, allocations: 4.301 MB / 361 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2677, allocations: 7.938 kB / 361 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2677, allocations: 0 / 361 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.068e-05/0.2678, allocations: 0 / 361 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.007145/0.275, allocations: 3.269 MB / 364.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.275, allocations: 8.031 kB / 364.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.2807, allocations: 1.655 MB / 365.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.2839, allocations: 1.55 MB / 367.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.284, allocations: 131.1 kB / 367.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.2844, allocations: 175.7 kB / 367.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009641/0.2941, allocations: 6.588 MB / 374.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.347e-05/0.2942, allocations: 43.64 kB / 374.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.2944, allocations: 95.83 kB / 374.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/0.2965, allocations: 1.323 MB / 375.8 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009546/0.306, allocations: 5.832 MB / 381.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.3355, allocations: 28.09 MB / 409.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005547/0.3411, allocations: 2.737 MB / 412.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3426, allocations: 1.266 MB / 413.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006949/0.3434, allocations: 0.6317 MB / 414.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3434, allocations: 54.98 kB / 414.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.317e-06/0.3434, allocations: 0 / 414.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.06929/0.4127, allocations: 20.55 MB / 435 MB, free: 3.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.4128, allocations: 141.5 kB / 435.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.4166, allocations: 2.84 MB / 437.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003533/0.417, allocations: 45.7 kB / 438 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.4184, allocations: 2.11 MB / 440.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/0.4191, allocations: 0.6017 MB / 440.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.4204, allocations: 1.007 MB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4205, allocations: 309.1 kB / 442 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/0.4234, allocations: 2.227 MB / 444.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005082/0.4285, allocations: 5.181 MB / 449.4 MB, free: 3.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2013/0.6299, allocations: 7.981 MB / 457.4 MB, free: 104.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.891e-05/0.63, allocations: 29.97 kB / 457.4 MB, free: 104.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02049/0.6505, allocations: 10.31 MB / 467.7 MB, free: 101.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.6506, allocations: 50.69 kB / 467.8 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-05/0.6507, allocations: 106.5 kB / 467.9 MB, free: 101.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.6615, allocations: 3.433 MB / 471.3 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/0.6651, allocations: 1.106 MB / 472.4 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.6806, allocations: 12.86 MB / 485.3 MB, free: 87.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/0.6849, allocations: 334.2 kB / 485.6 MB, free: 87.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007559/0.6857, allocations: 304 kB / 485.9 MB, free: 87.23 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.00222/0.6879, allocations: 1.477 MB / 487.4 MB, free: 85.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005113/0.6885, allocations: 246.7 kB / 487.6 MB, free: 85.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.702, allocations: 6.004 MB / 493.6 MB, free: 79.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.451e-05/0.702, allocations: 20 kB / 493.6 MB, free: 79.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/0.7021, allocations: 8 kB / 493.7 MB, free: 79.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.032e-05/0.7021, allocations: 7.969 kB / 493.7 MB, free: 79.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/0.7252, allocations: 13.19 MB / 0.495 GB, free: 66.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.7253, allocations: 0 / 0.495 GB, free: 66.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.7264, allocations: 231.7 kB / 0.4952 GB, free: 66.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/0.7374, allocations: 4.019 MB / 0.4991 GB, free: 62.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/0.7378, allocations: 51.95 kB / 0.4992 GB, free: 62.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.7527, allocations: 12.83 MB / 0.5117 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7527, allocations: 5.359 kB / 0.5117 GB, free: 49.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/0.7707, allocations: 9.887 MB / 0.5214 GB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.7713, allocations: 305.7 kB / 0.5216 GB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.7718, allocations: 35.98 kB / 0.5217 GB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.7733, allocations: 191.4 kB / 0.5219 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/0.7737, allocations: 112.8 kB / 0.522 GB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.7739, allocations: 47.97 kB / 0.522 GB, free: 38.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001867/0.7758, allocations: 1.764 MB / 0.5237 GB, free: 36.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7758, allocations: 0 / 0.5237 GB, free: 36.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00346/0.7792, allocations: 0.8269 MB / 0.5245 GB, free: 35.95 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.000424/0.7797, allocations: 165 kB / 0.5247 GB, free: 35.79 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.008938/0.7886, allocations: 6.768 MB / 0.5313 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7886, allocations: 4 kB / 0.5313 GB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004094/0.7927, allocations: 2.857 MB / 0.5341 GB, free: 25.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.7946, allocations: 301.8 kB / 0.5344 GB, free: 25.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.8042, allocations: 8.535 MB / 0.5427 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.8059, allocations: 2.318 MB / 0.545 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00308/0.809, allocations: 1.527 MB / 0.5465 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.8095, allocations: 187.4 kB / 0.5467 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8095, allocations: 0 / 0.5467 GB, free: 13 MB / 382.1 MB Notification: Performance of Templates: time 0.07499/0.8845, allocations: 41.19 MB / 0.5869 GB, free: 3.809 MB / 414.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)