Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.21e-05, allocations: 6.812 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.0897, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4641, allocations: 90.98 MB / 433.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4644, allocations: 91.44 kB / 433.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2306/0.695, allocations: 60.05 MB / 493.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.695, allocations: 4 kB / 493.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001144/0.6952, allocations: 52 kB / 493.7 MB, free: 11.17 MB / 410.7 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.0106/0.7058, allocations: 2.908 MB / 496.6 MB, free: 8.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7058, allocations: 8.031 kB / 496.7 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.7168, allocations: 1.946 MB / 498.6 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.7278, allocations: 3.298 MB / 0.4901 GB, free: 2.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.728, allocations: 188.7 kB / 0.4903 GB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009056/0.729, allocations: 248.2 kB / 0.4906 GB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.7452, allocations: 7.252 MB / 0.4976 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.7454, allocations: 43.62 kB / 0.4977 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005993/0.746, allocations: 131.9 kB / 0.4978 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001374/0.7474, allocations: 0.7261 MB / 0.4985 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.7623, allocations: 6.066 MB / 0.5044 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2972/1.06, allocations: 36.87 MB / 0.5404 GB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/1.068, allocations: 2.98 MB / 0.5434 GB, free: 91.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/1.071, allocations: 1.412 MB / 0.5447 GB, free: 91.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008179/1.079, allocations: 4.195 MB / 0.5488 GB, free: 90.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.079, allocations: 48.52 kB / 0.5489 GB, free: 90.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 5.828e-06/1.079, allocations: 0 / 0.5489 GB, free: 90.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.07741/1.156, allocations: 18.47 MB / 0.5669 GB, free: 88.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.157, allocations: 169 kB / 0.5671 GB, free: 88.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/1.161, allocations: 2.565 MB / 0.5696 GB, free: 88.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003682/1.161, allocations: 44.7 kB / 0.5696 GB, free: 88.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/1.163, allocations: 2.111 MB / 0.5717 GB, free: 86.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/1.164, allocations: 0.5875 MB / 0.5723 GB, free: 86.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/1.164, allocations: 100 kB / 0.5724 GB, free: 86.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/1.164, allocations: 0.5118 MB / 0.5729 GB, free: 85.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/1.169, allocations: 2.306 MB / 0.5751 GB, free: 84.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/1.174, allocations: 5.216 MB / 0.5802 GB, free: 80.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/1.18, allocations: 3.425 MB / 0.5835 GB, free: 78.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.958e-05/1.18, allocations: 32.59 kB / 0.5836 GB, free: 78.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.0326/1.213, allocations: 10.83 MB / 0.5942 GB, free: 75.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.61e-05/1.213, allocations: 52.19 kB / 0.5942 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.213, allocations: 105.1 kB / 0.5943 GB, free: 75.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/1.23, allocations: 4.124 MB / 0.5983 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.235, allocations: 1.123 MB / 0.5994 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02524/1.26, allocations: 13.68 MB / 0.6128 GB, free: 63.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.266, allocations: 361.5 kB / 0.6131 GB, free: 63.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009544/1.267, allocations: 340.5 kB / 0.6135 GB, free: 63.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 565 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009288/1.268, allocations: 475.1 kB / 0.6139 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/1.268, allocations: 244.8 kB / 0.6141 GB, free: 62.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02038/1.289, allocations: 6.897 MB / 0.6209 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/1.289, allocations: 16.7 kB / 0.6209 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/1.289, allocations: 8 kB / 0.6209 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.289, allocations: 7.984 kB / 0.6209 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/1.326, allocations: 14.2 MB / 0.6348 GB, free: 41.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.326, allocations: 4 kB / 0.6348 GB, free: 41.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.328, allocations: 223.7 kB / 0.635 GB, free: 40.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02367/1.351, allocations: 4.673 MB / 0.6396 GB, free: 36.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006875/1.352, allocations: 47.95 kB / 0.6396 GB, free: 36.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05256/1.405, allocations: 13.76 MB / 0.653 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.972e-06/1.405, allocations: 4 kB / 0.653 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03936/1.444, allocations: 11.03 MB / 0.6638 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/1.445, allocations: 341.6 kB / 0.6641 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/1.446, allocations: 33.64 kB / 0.6642 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.448, allocations: 203.6 kB / 0.6644 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.448, allocations: 104.8 kB / 0.6645 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.448, allocations: 49.66 kB / 0.6645 GB, free: 10.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003083/1.452, allocations: 1.777 MB / 0.6663 GB, free: 8.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.041e-06/1.452, allocations: 0 / 0.6663 GB, free: 8.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005982/1.458, allocations: 0.8643 MB / 0.6671 GB, free: 7.766 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 90 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007858/1.458, allocations: 173.1 kB / 0.6673 GB, free: 7.598 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01671/1.475, allocations: 6.482 MB / 0.6736 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.592e-06/1.475, allocations: 0 / 0.6736 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007647/1.483, allocations: 3.132 MB / 0.6766 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.485, allocations: 262.3 kB / 0.6769 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.499, allocations: 6.325 MB / 0.6831 GB, free: 7.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.502, allocations: 2.368 MB / 0.6854 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005326/1.508, allocations: 1.557 MB / 0.6869 GB, free: 3.215 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008599/1.509, allocations: 203.4 kB / 0.6871 GB, free: 3.016 MB / 458.7 MB Notification: Performance of SimCode: time 1.905e-06/1.509, allocations: 0 / 0.6871 GB, free: 3.016 MB / 458.7 MB Notification: Performance of Templates: time 0.3663/1.875, allocations: 40.87 MB / 0.727 GB, free: 122.4 MB / 458.7 MB