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.001582/0.001582, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001996/0.001996, allocations: 193.1 kB / 16.13 MB, free: 6.715 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.495/1.495, allocations: 205.1 MB / 222 MB, free: 4.77 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.001368/0.001368, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 46.62 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01471/0.2994, allocations: 14.03 MB / 338.7 MB, free: 6.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.3105, allocations: 4.406 MB / 343.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.3137, allocations: 55.88 kB / 343.2 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.3156, allocations: 0.8686 MB / 344 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.3188, allocations: 1.269 MB / 345.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3199, allocations: 0.4914 MB / 345.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.3249, allocations: 4.487 MB / 350.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.3267, allocations: 1.279 MB / 351.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009006/0.3276, allocations: 0.7041 MB / 352.3 MB, free: 8.484 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.3291, allocations: 1.312 MB / 353.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.3293, allocations: 104 kB / 353.7 MB, free: 7.066 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3309, allocations: 0.9554 MB / 354.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009612/0.3319, allocations: 1.083 MB / 355.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.333, allocations: 1.25 MB / 357 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.3373, allocations: 4.211 MB / 361.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3374, allocations: 0 / 361.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3374, allocations: 0 / 361.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-05/0.3374, allocations: 0 / 361.2 MB, free: 15.54 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.007606/0.3451, allocations: 3.265 MB / 364.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3451, allocations: 12.03 kB / 364.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.3507, allocations: 1.655 MB / 366.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.3539, allocations: 1.558 MB / 367.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.354, allocations: 131.1 kB / 367.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/0.3544, allocations: 175.7 kB / 368 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009638/0.364, allocations: 6.588 MB / 374.6 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.3641, allocations: 39.66 kB / 374.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.3644, allocations: 87.89 kB / 374.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.3664, allocations: 1.331 MB / 376 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3769, allocations: 5.836 MB / 381.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03568/0.4126, allocations: 28.09 MB / 409.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00633/0.419, allocations: 2.74 MB / 412.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.4208, allocations: 1.27 MB / 413.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.4216, allocations: 0.6317 MB / 414.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4216, allocations: 43.06 kB / 414.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.908e-06/0.4216, allocations: 0 / 414.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07515/0.4968, allocations: 20.56 MB / 435.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.497, allocations: 149.4 kB / 435.3 MB, free: 3.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/0.5016, allocations: 2.844 MB / 438.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.5019, allocations: 45.7 kB / 438.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.5035, allocations: 2.098 MB / 440.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000769/0.5043, allocations: 0.6017 MB / 440.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.5059, allocations: 1.011 MB / 441.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.506, allocations: 309.1 kB / 442.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003228/0.5093, allocations: 2.219 MB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005064/0.5143, allocations: 5.185 MB / 449.6 MB, free: 3.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2043/0.7187, allocations: 7.985 MB / 457.6 MB, free: 104.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.504e-05/0.7188, allocations: 30.88 kB / 457.6 MB, free: 104.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02146/0.7402, allocations: 10.31 MB / 467.9 MB, free: 101.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.7403, allocations: 47.06 kB / 468 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.483e-05/0.7404, allocations: 105.5 kB / 468.1 MB, free: 101.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.7513, allocations: 3.429 MB / 471.5 MB, free: 100.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.7546, allocations: 1.103 MB / 472.6 MB, free: 99.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.7702, allocations: 12.01 MB / 484.6 MB, free: 88.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.7742, allocations: 333.3 kB / 485 MB, free: 88.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005817/0.7749, allocations: 315.8 kB / 485.3 MB, free: 87.75 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.001914/0.7768, allocations: 1.464 MB / 486.7 MB, free: 86.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.7772, allocations: 250.8 kB / 487 MB, free: 86.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/0.7953, allocations: 6.005 MB / 493 MB, free: 80.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.7954, allocations: 16 kB / 493 MB, free: 80.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/0.7954, allocations: 8 kB / 493 MB, free: 80.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-05/0.7955, allocations: 9.047 kB / 493 MB, free: 80.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/0.8292, allocations: 13.18 MB / 0.4943 GB, free: 66.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.801e-05/0.8292, allocations: 4 kB / 0.4943 GB, free: 66.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.8305, allocations: 231.7 kB / 0.4946 GB, free: 66.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/0.8423, allocations: 4.015 MB / 0.4985 GB, free: 62.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003695/0.8427, allocations: 43.95 kB / 0.4985 GB, free: 62.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/0.8638, allocations: 12.02 MB / 0.5103 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8638, allocations: 0 / 0.5103 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03321/0.8971, allocations: 9.89 MB / 0.5199 GB, free: 40.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.8981, allocations: 309.7 kB / 0.5202 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009641/0.8991, allocations: 39.81 kB / 0.5203 GB, free: 40.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/0.9023, allocations: 183.7 kB / 0.5204 GB, free: 40.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007203/0.903, allocations: 116.7 kB / 0.5205 GB, free: 39.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000277/0.9033, allocations: 47.97 kB / 0.5206 GB, free: 39.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004319/0.9077, allocations: 1.762 MB / 0.5223 GB, free: 38.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9077, allocations: 1.641 kB / 0.5223 GB, free: 38.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007197/0.9149, allocations: 0.8333 MB / 0.5231 GB, free: 37.3 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.0007165/0.9156, allocations: 158.8 kB / 0.5233 GB, free: 37.14 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.01629/0.932, allocations: 6.226 MB / 0.5294 GB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.932, allocations: 0 / 0.5294 GB, free: 30.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008091/0.9401, allocations: 2.864 MB / 0.5322 GB, free: 27.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.9437, allocations: 272.3 kB / 0.5324 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.9639, allocations: 8.545 MB / 0.5408 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/0.9681, allocations: 2.315 MB / 0.543 GB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006609/0.9747, allocations: 1.527 MB / 0.5445 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.9758, allocations: 191.4 kB / 0.5447 GB, free: 14.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.293e-06/0.9758, allocations: 3.938 kB / 0.5447 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Templates: time 0.08288/1.059, allocations: 39.7 MB / 0.5835 GB, free: 7.195 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)