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_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.761e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.3822, allocations: 83.48 MB / 377.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.3826, allocations: 87.78 kB / 377.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4429/0.8255, allocations: 60.2 MB / 437.9 MB, free: 90.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.136e-06/0.8255, allocations: 0 / 437.9 MB, free: 90.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.8257, allocations: 55.38 kB / 437.9 MB, free: 90.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.009565/0.8353, allocations: 3.029 MB / 441 MB, free: 88.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8353, allocations: 10.88 kB / 441 MB, free: 88.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.8463, allocations: 1.992 MB / 443 MB, free: 88.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.8567, allocations: 3.538 MB / 446.5 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.8569, allocations: 88.31 kB / 446.6 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.8582, allocations: 163.5 kB / 446.8 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009444/0.8676, allocations: 4.527 MB / 451.3 MB, free: 87.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.8812, allocations: 7.171 MB / 458.5 MB, free: 83.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.8814, allocations: 61.09 kB / 458.5 MB, free: 83.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009229/0.8824, allocations: 29.56 kB / 458.5 MB, free: 83.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/0.8836, allocations: 0.7776 MB / 459.3 MB, free: 83.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.9245, allocations: 39.97 MB / 499.3 MB, free: 46.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.9278, allocations: 2.324 MB / 0.4899 GB, free: 43.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.9297, allocations: 1.376 MB / 0.4912 GB, free: 42.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/0.9304, allocations: 0.6393 MB / 0.4918 GB, free: 41.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.9305, allocations: 47.12 kB / 0.4919 GB, free: 41.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 5.279e-06/0.9305, allocations: 0 / 0.4919 GB, free: 41.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=152): time 0.04919/0.9797, allocations: 16 MB / 0.5075 GB, free: 25.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.9798, allocations: 145.2 kB / 0.5076 GB, free: 25.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.9841, allocations: 2.457 MB / 0.51 GB, free: 23.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.9846, allocations: 25.7 kB / 0.5101 GB, free: 23.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.9861, allocations: 2.379 MB / 0.5124 GB, free: 20.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/0.9869, allocations: 0.5901 MB / 0.513 GB, free: 20.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.9874, allocations: 0 / 0.513 GB, free: 20.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003284/0.9877, allocations: 0.5342 MB / 0.5135 GB, free: 19.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/0.9919, allocations: 2.279 MB / 0.5157 GB, free: 17.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005911/0.9978, allocations: 5.555 MB / 0.5211 GB, free: 9.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006282/1.004, allocations: 3.51 MB / 0.5246 GB, free: 6.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.285e-05/1.004, allocations: 32 kB / 0.5246 GB, free: 6.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.03244/1.037, allocations: 10.74 MB / 0.5351 GB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.037, allocations: 60.03 kB / 0.5351 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/1.037, allocations: 116 kB / 0.5352 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0184/1.055, allocations: 4.117 MB / 0.5393 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005117/1.061, allocations: 1.212 MB / 0.5404 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/1.09, allocations: 12.7 MB / 0.5528 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/1.096, allocations: 267.3 kB / 0.5531 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/1.097, allocations: 336 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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 (638): * Single equations (assignments): 628 * 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.001314/1.098, allocations: 387.7 kB / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/1.099, allocations: 248.7 kB / 0.554 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/1.123, allocations: 6.738 MB / 0.5606 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.333e-05/1.123, allocations: 16 kB / 0.5606 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/1.123, allocations: 8 kB / 0.5606 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/1.123, allocations: 11.97 kB / 0.5606 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2694/1.393, allocations: 13.91 MB / 0.5742 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.393, allocations: 7.734 kB / 0.5742 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/1.394, allocations: 225.1 kB / 0.5744 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02417/1.418, allocations: 4.663 MB / 0.579 GB, free: 105.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004413/1.419, allocations: 24.11 kB / 0.579 GB, free: 105.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.444, allocations: 12.68 MB / 0.5914 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.95e-06/1.444, allocations: 14.03 kB / 0.5914 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02858/1.473, allocations: 10.85 MB / 0.602 GB, free: 97.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/1.474, allocations: 306 kB / 0.6023 GB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/1.474, allocations: 19.17 kB / 0.6023 GB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.476, allocations: 172.3 kB / 0.6025 GB, free: 97.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/1.477, allocations: 108.6 kB / 0.6026 GB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/1.477, allocations: 46.77 kB / 0.6026 GB, free: 97.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003248/1.481, allocations: 1.623 MB / 0.6042 GB, free: 97.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.295e-06/1.481, allocations: 1.812 kB / 0.6042 GB, free: 97.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006058/1.487, allocations: 0.7748 MB / 0.605 GB, free: 97.11 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * 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.000644/1.487, allocations: 154.2 kB / 0.6051 GB, free: 97.02 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74: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@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655:74: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.01349/1.501, allocations: 6.586 MB / 0.6116 GB, free: 92.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.167e-06/1.501, allocations: 4 kB / 0.6116 GB, free: 92.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007017/1.508, allocations: 3.156 MB / 0.6146 GB, free: 90.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.51, allocations: 234.8 kB / 0.6149 GB, free: 89.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.523, allocations: 6.957 MB / 0.6217 GB, free: 83.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004142/1.527, allocations: 2.555 MB / 0.6242 GB, free: 80.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000848/1.528, allocations: 227.4 kB / 0.6244 GB, free: 80.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.861e-06/1.528, allocations: 0 / 0.6244 GB, free: 80.45 MB / 394.7 MB Notification: Performance of Templates: time 0.4242/1.952, allocations: 132.1 MB / 0.7534 GB, free: 104.4 MB / 410.7 MB