Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001159/0.00116, allocations: 110.8 kB / 17.06 MB, free: 5.977 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.001114/0.001114, allocations: 200 kB / 18.01 MB, free: 5.059 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.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001253/0.001253, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1958/0.3081, allocations: 7.039 MB / 381.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.3133, allocations: 3.143 MB / 384.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.314, allocations: 31.25 kB / 384.7 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.3157, allocations: 0.8922 MB / 385.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.3184, allocations: 1.369 MB / 387 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.3194, allocations: 0.5263 MB / 387.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.3226, allocations: 2.734 MB / 390.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.324, allocations: 1.33 MB / 391.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.3253, allocations: 0.8633 MB / 392.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.3277, allocations: 2.023 MB / 394.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.3282, allocations: 179.8 kB / 394.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.33, allocations: 0.9697 MB / 395.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.331, allocations: 1.137 MB / 396.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.332, allocations: 1.306 MB / 398 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.3358, allocations: 4.416 MB / 402.4 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.3359, allocations: 3.984 kB / 402.4 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3359, allocations: 1.344 kB / 402.4 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.441e-05/0.336, allocations: 0 / 402.4 MB, free: 108 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.008451/0.3444, allocations: 3.273 MB / 405.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3445, allocations: 9.188 kB / 405.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006/0.3505, allocations: 1.647 MB / 407.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/0.3544, allocations: 1.576 MB / 409 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3545, allocations: 129.2 kB / 409.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004427/0.355, allocations: 177.3 kB / 409.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3656, allocations: 6.593 MB / 415.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/0.3658, allocations: 31.75 kB / 415.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.366, allocations: 83.89 kB / 416 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002076/0.3681, allocations: 1.331 MB / 417.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.3784, allocations: 5.84 MB / 423.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/0.4132, allocations: 27.96 MB / 451.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/0.4195, allocations: 2.792 MB / 453.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.4212, allocations: 1.306 MB / 455.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/0.422, allocations: 0.6433 MB / 455.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.422, allocations: 43.12 kB / 455.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.496e-06/0.422, allocations: 4 kB / 455.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07259/0.4946, allocations: 21.01 MB / 476.9 MB, free: 7.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4948, allocations: 175.2 kB / 477.1 MB, free: 6.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/0.4989, allocations: 2.804 MB / 479.9 MB, free: 4.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/0.4993, allocations: 53.62 kB / 479.9 MB, free: 4.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.5006, allocations: 2.079 MB / 482 MB, free: 1.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000829/0.5015, allocations: 0.6247 MB / 482.6 MB, free: 1.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.5029, allocations: 0.9996 MB / 483.6 MB, free: 348 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.503, allocations: 309.1 kB / 483.9 MB, free: 36 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.5061, allocations: 2.231 MB / 486.2 MB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005151/0.5113, allocations: 5.154 MB / 491.3 MB, free: 7.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.5213, allocations: 7.964 MB / 499.3 MB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.539e-05/0.5214, allocations: 32 kB / 499.3 MB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02445/0.5459, allocations: 10.29 MB / 0.4977 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.546, allocations: 48 kB / 0.4977 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.5461, allocations: 104 kB / 0.4978 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/0.5585, allocations: 3.427 MB / 0.5011 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/0.5624, allocations: 1.084 MB / 0.5022 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/0.5826, allocations: 12.84 MB / 0.5147 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.5875, allocations: 335.3 kB / 0.5151 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/0.5887, allocations: 308 kB / 0.5154 GB, free: 1.121 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.002804/0.5915, allocations: 1.469 MB / 0.5168 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.5921, allocations: 244.8 kB / 0.517 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.6078, allocations: 6.005 MB / 0.5229 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/0.6079, allocations: 27.98 kB / 0.5229 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/0.6079, allocations: 12 kB / 0.5229 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/0.608, allocations: 7.969 kB / 0.5229 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03017/0.6381, allocations: 13.21 MB / 0.5358 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.6382, allocations: 4 kB / 0.5358 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.6395, allocations: 239.7 kB / 0.5361 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01265/0.6521, allocations: 4.008 MB / 0.54 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004543/0.6526, allocations: 51.89 kB / 0.54 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2335/0.8861, allocations: 12.82 MB / 0.5525 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.8862, allocations: 1.156 kB / 0.5525 GB, free: 150.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02274/0.9089, allocations: 10.09 MB / 0.5624 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.9098, allocations: 303.2 kB / 0.5627 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004855/0.9103, allocations: 37.38 kB / 0.5627 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.9121, allocations: 189.3 kB / 0.5629 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/0.9125, allocations: 108.9 kB / 0.563 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.9127, allocations: 56.48 kB / 0.5631 GB, free: 146.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.9153, allocations: 1.752 MB / 0.5648 GB, free: 146.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.9153, allocations: 0 / 0.5648 GB, free: 146.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005331/0.9206, allocations: 0.8237 MB / 0.5656 GB, free: 146.2 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.0006197/0.9213, allocations: 162 kB / 0.5657 GB, free: 146.1 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.01413/0.9354, allocations: 6.278 MB / 0.5719 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.9355, allocations: 0 / 0.5719 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005858/0.9413, allocations: 2.892 MB / 0.5747 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.944, allocations: 297.4 kB / 0.575 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.9658, allocations: 7.318 MB / 0.5821 GB, free: 138.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/0.9693, allocations: 2.322 MB / 0.5844 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004637/0.974, allocations: 1.51 MB / 0.5859 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.9747, allocations: 188.9 kB / 0.586 GB, free: 136.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.9747, allocations: 0 / 0.586 GB, free: 136.2 MB / 478.1 MB Notification: Performance of Templates: time 0.06282/1.037, allocations: 38.74 MB / 0.6239 GB, free: 98.17 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)