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.006321/0.006321, allocations: 101 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.00124/0.00124, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001184/0.001184, allocations: 55.92 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09206, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2138/0.3059, allocations: 7.035 MB / 380.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.312, allocations: 3.144 MB / 383.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.3134, allocations: 34.94 kB / 383.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.3157, allocations: 0.8898 MB / 384.3 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.3197, allocations: 1.375 MB / 385.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.321, allocations: 0.523 MB / 386.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.3258, allocations: 2.728 MB / 388.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.3279, allocations: 1.332 MB / 390.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3295, allocations: 0.8575 MB / 391.1 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.3325, allocations: 2.024 MB / 393.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007474/0.3332, allocations: 182.8 kB / 393.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.3353, allocations: 0.9705 MB / 394.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.3366, allocations: 1.133 MB / 395.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.338, allocations: 1.309 MB / 396.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.3433, allocations: 4.424 MB / 401.1 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3433, allocations: 0 / 401.1 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3433, allocations: 1.469 kB / 401.1 MB, free: 328 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.3435, allocations: 3.938 kB / 401.1 MB, free: 324 kB / 318.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.009518/0.353, allocations: 3.258 MB / 404.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3531, allocations: 8.812 kB / 404.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/0.3595, allocations: 1.663 MB / 406.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.3635, allocations: 1.564 MB / 407.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.3636, allocations: 131.5 kB / 407.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.3641, allocations: 171.5 kB / 407.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.3757, allocations: 6.596 MB / 414.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.3759, allocations: 35.66 kB / 414.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.3762, allocations: 79.91 kB / 414.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.3783, allocations: 1.331 MB / 416 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.3899, allocations: 5.843 MB / 421.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.435, allocations: 27.96 MB / 449.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/0.4447, allocations: 2.794 MB / 452.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.4472, allocations: 1.304 MB / 453.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.4483, allocations: 0.6356 MB / 454.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.4484, allocations: 51.12 kB / 454.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 7.775e-06/0.4484, allocations: 0 / 454.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07571/0.5241, allocations: 21.02 MB / 475.6 MB, free: 7.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5243, allocations: 175.2 kB / 475.7 MB, free: 7.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.5286, allocations: 2.811 MB / 478.5 MB, free: 4.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000467/0.5291, allocations: 49.7 kB / 478.6 MB, free: 4.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.5307, allocations: 2.075 MB / 480.7 MB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009636/0.5317, allocations: 0.6247 MB / 481.3 MB, free: 1.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/0.5332, allocations: 0.9997 MB / 482.3 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5334, allocations: 305.1 kB / 482.6 MB, free: 200 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.5366, allocations: 2.227 MB / 484.8 MB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005332/0.5419, allocations: 5.154 MB / 490 MB, free: 7.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/0.5519, allocations: 7.968 MB / 497.9 MB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-05/0.5521, allocations: 32 kB / 498 MB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02463/0.5767, allocations: 10.29 MB / 0.4964 GB, free: 3.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/0.5768, allocations: 51.91 kB / 0.4964 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.577, allocations: 104 kB / 0.4965 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/0.5889, allocations: 3.423 MB / 0.4998 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/0.5926, allocations: 1.092 MB / 0.5009 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.6133, allocations: 12.84 MB / 0.5135 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/0.6185, allocations: 335.4 kB / 0.5138 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009842/0.6195, allocations: 308 kB / 0.5141 GB, free: 1.27 MB / 446.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.002967/0.6224, allocations: 1.465 MB / 0.5155 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/0.623, allocations: 248.7 kB / 0.5157 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.6391, allocations: 6.005 MB / 0.5216 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/0.6392, allocations: 27.98 kB / 0.5216 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/0.6392, allocations: 8 kB / 0.5216 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/0.6393, allocations: 7.969 kB / 0.5216 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/0.6696, allocations: 13.21 MB / 0.5345 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/0.6697, allocations: 8.125 kB / 0.5346 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.6709, allocations: 235.6 kB / 0.5348 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.6839, allocations: 4.008 MB / 0.5387 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/0.6845, allocations: 51.89 kB / 0.5387 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2367/0.9212, allocations: 12.81 MB / 0.5512 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9213, allocations: 4.266 kB / 0.5513 GB, free: 150.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/0.9444, allocations: 10.09 MB / 0.5611 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009459/0.9454, allocations: 303.5 kB / 0.5614 GB, free: 147.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/0.9459, allocations: 35.23 kB / 0.5614 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.9476, allocations: 185.4 kB / 0.5616 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.9481, allocations: 113.5 kB / 0.5617 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.9482, allocations: 57.56 kB / 0.5618 GB, free: 147.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0028/0.951, allocations: 1.744 MB / 0.5635 GB, free: 146.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.22e-07/0.9511, allocations: 0 / 0.5635 GB, free: 146.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004655/0.9557, allocations: 0.8224 MB / 0.5643 GB, free: 146.4 MB / 478.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.0005343/0.9563, allocations: 167.1 kB / 0.5644 GB, free: 146.3 MB / 478.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.009928/0.9662, allocations: 6.267 MB / 0.5706 GB, free: 143.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9663, allocations: 3.875 kB / 0.5706 GB, free: 143.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004888/0.9711, allocations: 2.893 MB / 0.5734 GB, free: 142.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.9736, allocations: 308 kB / 0.5737 GB, free: 142 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.9853, allocations: 7.317 MB / 0.5808 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.9873, allocations: 2.324 MB / 0.5831 GB, free: 137.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002712/0.99, allocations: 1.509 MB / 0.5846 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.9905, allocations: 194.5 kB / 0.5848 GB, free: 136.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.9905, allocations: 0 / 0.5848 GB, free: 136.5 MB / 478.1 MB Notification: Performance of Templates: time 0.05298/1.043, allocations: 38.63 MB / 0.6225 GB, free: 98.54 MB / 478.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)