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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.597/1.597, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.162e-05, allocations: 4 kB / 225 MB, free: 2.781 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 38.76 MB / 263.8 MB, free: 9.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3329, allocations: 78.52 MB / 342.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.3332, allocations: 83.95 kB / 342.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.411/0.7443, allocations: 61.19 MB / 403.5 MB, free: 69.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.781e-06/0.7443, allocations: 0 / 403.5 MB, free: 69.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.7444, allocations: 56 kB / 403.6 MB, free: 69.78 MB / 314.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.008713/0.7532, allocations: 3.019 MB / 406.6 MB, free: 66.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7532, allocations: 8.031 kB / 406.6 MB, free: 66.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.764, allocations: 1.997 MB / 408.6 MB, free: 64.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.7741, allocations: 3.539 MB / 412.2 MB, free: 61.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.7743, allocations: 205.4 kB / 412.4 MB, free: 60.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.7755, allocations: 275.9 kB / 412.6 MB, free: 60.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.7903, allocations: 7.873 MB / 420.5 MB, free: 51.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.7905, allocations: 59.47 kB / 420.6 MB, free: 51.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000654/0.7911, allocations: 143.9 kB / 420.7 MB, free: 51.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001225/0.7924, allocations: 0.7807 MB / 421.5 MB, free: 50.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.8057, allocations: 6.288 MB / 427.8 MB, free: 44.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04049/0.8463, allocations: 41.4 MB / 469.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008313/0.8546, allocations: 2.915 MB / 472.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.8574, allocations: 1.395 MB / 473.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009634/0.8584, allocations: 0.6395 MB / 474.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.8585, allocations: 47.06 kB / 474.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 5.275e-06/0.8585, allocations: 0 / 474.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.07789/0.9364, allocations: 18.27 MB / 492.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.9366, allocations: 149.2 kB / 492.6 MB, free: 9.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006125/0.9427, allocations: 2.878 MB / 495.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003853/0.9431, allocations: 45.7 kB / 495.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.9455, allocations: 2.294 MB / 497.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009934/0.9465, allocations: 0.6056 MB / 498.4 MB, free: 4.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/0.947, allocations: 108 kB / 498.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000487/0.9475, allocations: 0.5219 MB / 499 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/0.953, allocations: 2.357 MB / 0.4896 GB, free: 1.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2552/1.208, allocations: 5.488 MB / 0.495 GB, free: 90.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/1.215, allocations: 3.549 MB / 0.4985 GB, free: 90.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.121e-05/1.215, allocations: 32.25 kB / 0.4985 GB, free: 90.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03229/1.247, allocations: 10.98 MB / 0.5092 GB, free: 89.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/1.248, allocations: 52.38 kB / 0.5093 GB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.248, allocations: 115 kB / 0.5094 GB, free: 89.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01806/1.266, allocations: 4.096 MB / 0.5134 GB, free: 88.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004911/1.271, allocations: 1.164 MB / 0.5145 GB, free: 88.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02671/1.297, allocations: 13.7 MB / 0.5279 GB, free: 82.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/1.303, allocations: 355.2 kB / 0.5282 GB, free: 82.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.304, allocations: 324.6 kB / 0.5285 GB, free: 82.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (616): * Single equations (assignments): 606 * 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.0009898/1.305, allocations: 499.1 kB / 0.529 GB, free: 81.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006748/1.306, allocations: 276 kB / 0.5293 GB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/1.327, allocations: 6.9 MB / 0.536 GB, free: 76.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/1.327, allocations: 25.03 kB / 0.536 GB, free: 76.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/1.327, allocations: 12 kB / 0.536 GB, free: 76.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/1.327, allocations: 9.625 kB / 0.5361 GB, free: 76.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/1.365, allocations: 14.56 MB / 0.5503 GB, free: 63.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.365, allocations: 7.922 kB / 0.5503 GB, free: 63.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.367, allocations: 227.7 kB / 0.5505 GB, free: 63.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01741/1.384, allocations: 4.641 MB / 0.555 GB, free: 58.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00041/1.385, allocations: 45.44 kB / 0.5551 GB, free: 58.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02545/1.41, allocations: 13.78 MB / 0.5685 GB, free: 44.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.771e-06/1.41, allocations: 3.281 kB / 0.5685 GB, free: 44.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/1.438, allocations: 11.05 MB / 0.5793 GB, free: 33.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/1.439, allocations: 339.3 kB / 0.5796 GB, free: 33.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007326/1.439, allocations: 39.98 kB / 0.5797 GB, free: 33.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.442, allocations: 191.7 kB / 0.5799 GB, free: 33.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/1.443, allocations: 116.7 kB / 0.58 GB, free: 33.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.443, allocations: 50.22 kB / 0.58 GB, free: 33.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004343/1.447, allocations: 2.006 MB / 0.582 GB, free: 31.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.159e-06/1.447, allocations: 0 / 0.582 GB, free: 31.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005803/1.453, allocations: 0.9128 MB / 0.5829 GB, free: 30.21 MB / 346.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 (104): * Single equations (assignments): 94 * 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.000602/1.454, allocations: 162.5 kB / 0.583 GB, free: 30.05 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678: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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678: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.01405/1.468, allocations: 6.629 MB / 0.5895 GB, free: 23.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.826e-06/1.468, allocations: 0 / 0.5895 GB, free: 23.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.475, allocations: 3.184 MB / 0.5926 GB, free: 20 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/1.477, allocations: 311.2 kB / 0.5929 GB, free: 19.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.492, allocations: 7.083 MB / 0.5998 GB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0038/1.496, allocations: 2.554 MB / 0.6023 GB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.497, allocations: 243.4 kB / 0.6026 GB, free: 9.824 MB / 346.7 MB Notification: Performance of SimCode: time 2.222e-06/1.497, allocations: 0 / 0.6026 GB, free: 9.824 MB / 346.7 MB Notification: Performance of Templates: time 0.3626/1.859, allocations: 133.7 MB / 0.7331 GB, free: 10.36 MB / 362.7 MB