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.0008482/0.0008482, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007145/0.007145, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.54/1.54, allocations: 205.4 MB / 222.5 MB, free: 5.781 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.0005801/0.00058, allocations: 19.98 kB / 279.5 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2749, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0146/0.2895, allocations: 13.44 MB / 340.5 MB, free: 5.922 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3007, allocations: 4.344 MB / 344.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.3037, allocations: 51.88 kB / 344.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.3044, allocations: 274.8 kB / 345.1 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.3078, allocations: 1.289 MB / 346.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3089, allocations: 487.2 kB / 346.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.3143, allocations: 4.498 MB / 351.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.3171, allocations: 1.639 MB / 353 MB, free: 9.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3181, allocations: 0.6612 MB / 353.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.3199, allocations: 1.25 MB / 354.9 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.3201, allocations: 84 kB / 355 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.3219, allocations: 0.9358 MB / 356 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.3233, allocations: 1.063 MB / 357 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.3249, allocations: 1.232 MB / 358.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.3295, allocations: 4.12 MB / 362.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.3296, allocations: 4 kB / 362.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.3296, allocations: 0 / 362.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.992e-05/0.3297, allocations: 3.938 kB / 362.4 MB, free: 15.9 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.006211/0.3359, allocations: 2.727 MB / 365.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.336, allocations: 12.03 kB / 365.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.3421, allocations: 1.705 MB / 366.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.3459, allocations: 1.557 MB / 368.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3461, allocations: 135.1 kB / 368.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/0.3465, allocations: 179.7 kB / 368.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.3578, allocations: 6.6 MB / 375.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.938e-05/0.358, allocations: 35.66 kB / 375.3 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3583, allocations: 87.89 kB / 375.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/0.3604, allocations: 1.335 MB / 376.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.3708, allocations: 5.84 MB / 382.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03168/0.4026, allocations: 28.1 MB / 410.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.4085, allocations: 2.76 MB / 413.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.41, allocations: 1.278 MB / 414.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.4107, allocations: 0.6278 MB / 415.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.4108, allocations: 51.06 kB / 415.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 5.14e-06/0.4108, allocations: 0 / 415.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07135/0.4821, allocations: 20.59 MB / 436 MB, free: 4.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.4823, allocations: 153.4 kB / 436.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.4864, allocations: 2.844 MB / 439 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.4869, allocations: 45.7 kB / 439 MB, free: 1.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.4884, allocations: 2.098 MB / 441.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.4891, allocations: 0.6055 MB / 441.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005435/0.4896, allocations: 416.7 kB / 442.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4897, allocations: 305.1 kB / 442.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.493, allocations: 2.223 MB / 444.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/0.4982, allocations: 5.185 MB / 449.9 MB, free: 4.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.211/0.7093, allocations: 7.988 MB / 457.8 MB, free: 105.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.7094, 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.02275/0.7322, allocations: 10.33 MB / 468.2 MB, free: 102.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.7323, allocations: 52.31 kB / 468.3 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.656e-05/0.7324, allocations: 104 kB / 468.4 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.744, allocations: 3.507 MB / 471.9 MB, free: 101.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/0.7474, allocations: 1.109 MB / 473 MB, free: 101 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/0.7633, allocations: 12.04 MB / 485 MB, free: 89.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/0.7671, allocations: 336.9 kB / 485.3 MB, free: 88.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005602/0.7677, allocations: 309.9 kB / 485.6 MB, free: 88.55 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.001912/0.7696, allocations: 1.473 MB / 487.1 MB, free: 87.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.77, allocations: 249 kB / 487.4 MB, free: 86.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/0.7844, allocations: 6.04 MB / 493.4 MB, free: 80.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/0.7845, allocations: 20 kB / 493.4 MB, free: 80.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.7845, allocations: 8 kB / 493.4 MB, free: 80.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.7845, allocations: 3.984 kB / 493.4 MB, free: 80.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/0.8098, allocations: 13.21 MB / 0.4948 GB, free: 67.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.8099, allocations: 3.844 kB / 0.4948 GB, free: 67.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.811, allocations: 235.6 kB / 0.495 GB, free: 67.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/0.823, allocations: 4.132 MB / 0.499 GB, free: 63.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/0.8233, allocations: 47.95 kB / 0.4991 GB, free: 63.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.8385, allocations: 12.09 MB / 0.5109 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8386, allocations: 0 / 0.5109 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.8569, allocations: 9.963 MB / 0.5206 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.8576, allocations: 305.7 kB / 0.5209 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.858, allocations: 36.84 kB / 0.5209 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.8595, allocations: 183.7 kB / 0.5211 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.8599, allocations: 108.8 kB / 0.5212 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.8601, allocations: 49.14 kB / 0.5213 GB, free: 40.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.862, allocations: 1.766 MB / 0.523 GB, free: 38.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.862, allocations: 4 kB / 0.523 GB, free: 38.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003403/0.8655, allocations: 0.8304 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.0003951/0.8659, allocations: 166.7 kB / 0.524 GB, free: 37.6 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.008764/0.8746, allocations: 6.216 MB / 0.53 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8747, allocations: 0 / 0.53 GB, free: 31.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004443/0.8791, 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.00215/0.8813, allocations: 287.7 kB / 0.5331 GB, free: 27.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.8924, allocations: 8.68 MB / 0.5416 GB, free: 19.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.8942, allocations: 2.322 MB / 0.5438 GB, free: 16.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003151/0.8973, 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.0004259/0.8978, allocations: 195.4 kB / 0.5455 GB, free: 15.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.8978, allocations: 0 / 0.5455 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Templates: time 0.06254/0.9603, allocations: 39.21 MB / 0.5838 GB, free: 7.988 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)