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.001378/0.001378, allocations: 110.1 kB / 16.92 MB, free: 5.77 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.001387/0.001387, allocations: 191.5 kB / 17.85 MB, free: 5.164 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.417/1.417, allocations: 205.1 MB / 223.7 MB, free: 12.33 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.001219/0.00122, allocations: 51.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008735/0.122, allocations: 7.043 MB / 333.7 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006307/0.1284, allocations: 3.128 MB / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1299, allocations: 31.94 kB / 336.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.132, allocations: 0.8989 MB / 337.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.1357, allocations: 1.378 MB / 339.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1368, allocations: 0.5187 MB / 339.6 MB, free: 7.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.1407, allocations: 2.731 MB / 342.4 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.1425, allocations: 1.329 MB / 343.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.1438, allocations: 0.8563 MB / 344.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.1463, allocations: 2.026 MB / 346.6 MB, free: 460 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005378/0.1468, allocations: 180 kB / 346.7 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.1488, allocations: 0.9749 MB / 347.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.15, allocations: 1.122 MB / 348.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.1513, allocations: 1.309 MB / 350.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.156, allocations: 4.249 MB / 354.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1561, allocations: 0 / 354.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1561, allocations: 4 kB / 354.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.1562, allocations: 0 / 354.4 MB, free: 8.59 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.008492/0.1647, allocations: 3.273 MB / 357.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1648, allocations: 8.031 kB / 357.7 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00606/0.1708, allocations: 1.655 MB / 359.3 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.1746, allocations: 1.561 MB / 360.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.1747, allocations: 127.1 kB / 361 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.1751, allocations: 171.8 kB / 361.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.1852, allocations: 6.596 MB / 367.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.427e-05/0.1853, allocations: 39.64 kB / 367.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002685/0.1856, allocations: 87.89 kB / 367.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.1878, allocations: 1.323 MB / 369.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.1995, allocations: 5.843 MB / 375.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.4435, allocations: 28.04 MB / 403.1 MB, free: 29.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005625/0.4492, allocations: 2.792 MB / 405.9 MB, free: 28.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.4505, allocations: 1.313 MB / 407.2 MB, free: 27.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.4511, allocations: 0.6315 MB / 407.9 MB, free: 27.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4511, allocations: 55.47 kB / 407.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 4.559e-06/0.4511, allocations: 0 / 407.9 MB, free: 27.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.06658/0.5177, allocations: 21.01 MB / 428.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.5178, allocations: 167.2 kB / 429.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.5215, allocations: 2.815 MB / 431.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.5219, allocations: 45.7 kB / 431.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.523, allocations: 2.075 MB / 434 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000715/0.5237, allocations: 0.6292 MB / 434.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.5249, allocations: 0.9958 MB / 435.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.5249, allocations: 305.1 kB / 435.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.5274, allocations: 2.227 MB / 438.2 MB, free: 436 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/0.5323, allocations: 5.157 MB / 443.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009322/0.5416, allocations: 7.968 MB / 451.3 MB, free: 412 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-05/0.5417, allocations: 29.31 kB / 451.3 MB, free: 384 kB / 334.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02491/0.5667, allocations: 10.29 MB / 461.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5668, allocations: 52.06 kB / 461.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/0.567, allocations: 104 kB / 461.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/0.5792, allocations: 3.427 MB / 465.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003836/0.5831, allocations: 1.092 MB / 466.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.6031, allocations: 12.87 MB / 479.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/0.607, allocations: 331.4 kB / 479.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/0.6081, allocations: 310.8 kB / 479.8 MB, free: 3.715 MB / 366.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.00332/0.6114, allocations: 1.466 MB / 481.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.612, allocations: 248.8 kB / 481.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.6278, allocations: 5.99 MB / 487.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-05/0.6279, allocations: 35.92 kB / 487.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.6279, allocations: 16 kB / 487.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/0.628, allocations: 3.984 kB / 487.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02945/0.6574, allocations: 13.23 MB / 0.489 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.6575, allocations: 3.938 kB / 0.489 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.6587, allocations: 231.7 kB / 0.4893 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/0.6712, allocations: 4.027 MB / 0.4932 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003396/0.6715, allocations: 47.95 kB / 0.4932 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.6911, allocations: 12.82 MB / 0.5058 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6911, allocations: 3.938 kB / 0.5058 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/0.7126, allocations: 10.09 MB / 0.5156 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.7137, allocations: 305.7 kB / 0.5159 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008105/0.7145, allocations: 32 kB / 0.5159 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/0.7168, allocations: 191.7 kB / 0.5161 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005809/0.7174, allocations: 112.8 kB / 0.5162 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/0.7176, allocations: 51.97 kB / 0.5163 GB, free: 2.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003545/0.7211, allocations: 1.738 MB / 0.518 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7212, allocations: 0 / 0.518 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004712/0.7259, allocations: 0.8197 MB / 0.5188 GB, free: 15.88 MB / 430.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.0005704/0.7265, allocations: 180.8 kB / 0.5189 GB, free: 15.7 MB / 430.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.01195/0.7384, allocations: 6.806 MB / 0.5256 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7384, allocations: 0 / 0.5256 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005402/0.7439, allocations: 2.884 MB / 0.5284 GB, free: 5.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.7463, allocations: 295.4 kB / 0.5287 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1714/0.9177, allocations: 7.378 MB / 0.5359 GB, free: 147.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.92, allocations: 2.328 MB / 0.5382 GB, free: 146.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003862/0.9239, allocations: 1.51 MB / 0.5396 GB, free: 146.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.9244, allocations: 186.7 kB / 0.5398 GB, free: 146.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9245, allocations: 0 / 0.5398 GB, free: 146.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05538/0.9798, allocations: 40.86 MB / 0.5797 GB, free: 120.3 MB / 430.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)