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.001216/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.5/1.5, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001561/0.001561, allocations: 52.39 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2745, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009091/0.2836, allocations: 7.029 MB / 332.3 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007065/0.2907, allocations: 3.137 MB / 335.5 MB, free: 9.727 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2924, allocations: 31.94 kB / 335.5 MB, free: 9.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.2948, allocations: 0.899 MB / 336.4 MB, free: 8.793 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.2989, allocations: 1.374 MB / 337.8 MB, free: 7.414 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3002, allocations: 0.5225 MB / 338.3 MB, free: 6.891 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004326/0.3046, allocations: 2.728 MB / 341 MB, free: 4.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3069, allocations: 1.333 MB / 342.4 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.3086, allocations: 0.8563 MB / 343.2 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.3115, allocations: 2.015 MB / 345.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008993/0.3124, allocations: 180 kB / 345.4 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.3145, allocations: 0.9672 MB / 346.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3156, allocations: 1.138 MB / 347.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.3169, allocations: 1.309 MB / 348.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.3211, allocations: 4.25 MB / 353.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3211, allocations: 3.984 kB / 353.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3211, allocations: 0 / 353.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.243e-05/0.3212, allocations: 0 / 353.1 MB, free: 8.066 MB / 286.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.006786/0.328, allocations: 3.269 MB / 356.4 MB, free: 4.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.328, allocations: 12.03 kB / 356.4 MB, free: 4.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00582/0.3339, allocations: 1.651 MB / 358 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3367, allocations: 1.565 MB / 359.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.3368, allocations: 131.1 kB / 359.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/0.3371, allocations: 175.7 kB / 359.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008659/0.3458, allocations: 6.592 MB / 366.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.991e-05/0.3459, allocations: 39.64 kB / 366.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.3461, allocations: 87.89 kB / 366.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/0.348, allocations: 1.331 MB / 367.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009553/0.3576, allocations: 5.832 MB / 373.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.3875, allocations: 28.07 MB / 401.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005728/0.3932, allocations: 2.79 MB / 404.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3947, allocations: 1.306 MB / 405.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.3953, allocations: 0.6355 MB / 406.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3954, allocations: 47.11 kB / 406.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 4.168e-06/0.3954, allocations: 8 kB / 406.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.06941/0.4648, allocations: 21.01 MB / 427.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.4649, allocations: 167.2 kB / 427.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.4684, allocations: 2.804 MB / 430.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003148/0.4687, allocations: 49.64 kB / 430.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.47, allocations: 2.071 MB / 432.7 MB, free: 6.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.4707, allocations: 0.6325 MB / 433.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.472, allocations: 0.9958 MB / 434.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4721, allocations: 305.1 kB / 434.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.4755, allocations: 2.231 MB / 436.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/0.4803, allocations: 5.15 MB / 442 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00859/0.4889, allocations: 7.97 MB / 450 MB, free: 2.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.361e-05/0.489, allocations: 28 kB / 450 MB, free: 2.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.2216/0.7106, allocations: 10.29 MB / 460.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-05/0.7107, allocations: 49.33 kB / 460.4 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.7109, allocations: 102.8 kB / 460.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.7219, allocations: 3.43 MB / 463.9 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/0.7252, allocations: 1.09 MB / 465 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.7409, allocations: 12.85 MB / 477.8 MB, free: 95.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/0.7448, allocations: 331.2 kB / 478.2 MB, free: 95.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/0.7453, allocations: 304 kB / 478.5 MB, free: 94.82 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.001682/0.747, allocations: 1.466 MB / 479.9 MB, free: 93.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.7474, allocations: 251.3 kB / 480.2 MB, free: 93.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.7609, allocations: 6.001 MB / 486.2 MB, free: 87.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.559e-05/0.761, allocations: 31.47 kB / 486.2 MB, free: 87.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/0.761, allocations: 11.94 kB / 486.2 MB, free: 87.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.761, allocations: 11.97 kB / 486.2 MB, free: 87.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/0.7853, allocations: 13.24 MB / 499.5 MB, free: 73.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.7854, allocations: 0 / 499.5 MB, free: 73.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.7865, allocations: 235.6 kB / 499.7 MB, free: 73.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/0.7975, allocations: 4.018 MB / 0.4919 GB, free: 69.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/0.7979, allocations: 51.95 kB / 0.492 GB, free: 69.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.8125, allocations: 12.83 MB / 0.5045 GB, free: 56.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8126, allocations: 0 / 0.5045 GB, free: 56.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.8301, allocations: 10.07 MB / 0.5143 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.8307, allocations: 313.6 kB / 0.5146 GB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/0.8311, allocations: 43.66 kB / 0.5147 GB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.8326, allocations: 183.7 kB / 0.5148 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/0.8331, allocations: 115 kB / 0.5149 GB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.8332, allocations: 51.97 kB / 0.515 GB, free: 45.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001962/0.8352, allocations: 1.738 MB / 0.5167 GB, free: 44.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8352, allocations: 0 / 0.5167 GB, free: 44.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003755/0.8389, allocations: 0.819 MB / 0.5175 GB, free: 43.33 MB / 382.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.0004051/0.8394, allocations: 166.1 kB / 0.5176 GB, free: 43.16 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.009555/0.8489, allocations: 6.805 MB / 0.5243 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.849, allocations: 4 kB / 0.5243 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/0.8535, allocations: 2.887 MB / 0.5271 GB, free: 33.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.8555, allocations: 301.2 kB / 0.5274 GB, free: 32.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.8652, allocations: 7.388 MB / 0.5346 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.8669, allocations: 2.326 MB / 0.5369 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0029/0.8698, allocations: 1.503 MB / 0.5384 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.8702, allocations: 191.4 kB / 0.5385 GB, free: 21.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.826e-06/0.8703, allocations: 4 kB / 0.5385 GB, free: 21.46 MB / 382.1 MB Notification: Performance of Templates: time 0.07347/0.9437, allocations: 40.84 MB / 0.5784 GB, free: 12.62 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)