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.881/1.881, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.115e-05, allocations: 4.969 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08161, allocations: 44.49 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4292, allocations: 84.15 MB / 384 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4294, allocations: 83.09 kB / 384.1 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2613/0.6907, allocations: 61.17 MB / 445.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.327e-06/0.6908, allocations: 8 kB / 445.2 MB, free: 9.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.6909, allocations: 52 kB / 445.3 MB, free: 9.906 MB / 330.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.01078/0.7017, allocations: 3.021 MB / 448.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.7018, allocations: 8.031 kB / 448.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.7138, allocations: 1.995 MB / 450.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.7256, allocations: 3.542 MB / 453.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.726, allocations: 210.8 kB / 454.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.7274, allocations: 278.1 kB / 454.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.747, allocations: 7.894 MB / 462.2 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.7473, allocations: 55.5 kB / 462.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.7483, allocations: 147.9 kB / 462.4 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/0.75, allocations: 0.7729 MB / 463.2 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.7666, allocations: 6.463 MB / 469.7 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.8262, allocations: 41.38 MB / 0.4991 GB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009181/0.8354, allocations: 2.946 MB / 0.502 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/0.8382, allocations: 1.391 MB / 0.5033 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.8393, allocations: 0.6395 MB / 0.5039 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.8394, allocations: 39.12 kB / 0.504 GB, free: 1.684 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.831e-06/0.8394, allocations: 0 / 0.504 GB, free: 1.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.3205/1.16, allocations: 18.27 MB / 0.5218 GB, free: 96.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/1.16, allocations: 147.5 kB / 0.522 GB, free: 96.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/1.166, allocations: 2.884 MB / 0.5248 GB, free: 95.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004003/1.166, allocations: 44.67 kB / 0.5248 GB, free: 95.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/1.168, allocations: 2.296 MB / 0.5271 GB, free: 94.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008324/1.168, allocations: 0.6023 MB / 0.5276 GB, free: 94.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/1.169, allocations: 106.3 kB / 0.5277 GB, free: 94.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00035/1.169, allocations: 0.5268 MB / 0.5283 GB, free: 94.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/1.174, allocations: 2.357 MB / 0.5306 GB, free: 94.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00632/1.181, allocations: 5.511 MB / 0.5359 GB, free: 89.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006703/1.187, allocations: 3.571 MB / 0.5394 GB, free: 89.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.923e-05/1.187, allocations: 33.75 kB / 0.5395 GB, free: 89.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03304/1.221, allocations: 11.3 MB / 0.5505 GB, free: 86.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/1.221, allocations: 53.09 kB / 0.5505 GB, free: 86.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.221, allocations: 110.8 kB / 0.5507 GB, free: 86.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/1.24, allocations: 4.086 MB / 0.5546 GB, free: 85.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/1.244, allocations: 1.171 MB / 0.5558 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/1.271, allocations: 13.69 MB / 0.5692 GB, free: 76.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.277, allocations: 363.9 kB / 0.5695 GB, free: 76.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.278, allocations: 326.1 kB / 0.5698 GB, free: 75.74 MB / 394.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.00115/1.279, allocations: 494.3 kB / 0.5703 GB, free: 75.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007305/1.28, allocations: 272.4 kB / 0.5705 GB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02818/1.308, allocations: 6.914 MB / 0.5773 GB, free: 69.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-05/1.308, allocations: 19.44 kB / 0.5773 GB, free: 69.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.375e-05/1.309, allocations: 12 kB / 0.5773 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-05/1.309, allocations: 11.12 kB / 0.5773 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07592/1.385, allocations: 14.56 MB / 0.5916 GB, free: 57.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.385, allocations: 4 kB / 0.5916 GB, free: 57.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.386, allocations: 231.7 kB / 0.5918 GB, free: 56.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01781/1.404, allocations: 4.64 MB / 0.5963 GB, free: 52.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004368/1.404, allocations: 49.12 kB / 0.5964 GB, free: 52.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/1.43, allocations: 13.76 MB / 0.6098 GB, free: 38.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-06/1.43, allocations: 0 / 0.6098 GB, free: 38.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02754/1.457, allocations: 11.04 MB / 0.6206 GB, free: 27.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/1.458, allocations: 345.3 kB / 0.6209 GB, free: 26.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/1.459, allocations: 33.39 kB / 0.6209 GB, free: 26.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.461, allocations: 203.7 kB / 0.6211 GB, free: 26.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005687/1.462, allocations: 112.2 kB / 0.6212 GB, free: 26.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.462, allocations: 53.14 kB / 0.6213 GB, free: 26.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003817/1.466, allocations: 2.009 MB / 0.6233 GB, free: 24.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.09e-06/1.466, allocations: 0 / 0.6233 GB, free: 24.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005751/1.472, allocations: 0.9088 MB / 0.6241 GB, free: 23.5 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 (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.0005729/1.473, allocations: 171 kB / 0.6243 GB, free: 23.33 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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.01402/1.487, allocations: 6.789 MB / 0.6309 GB, free: 16.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-06/1.487, allocations: 0 / 0.6309 GB, free: 16.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007228/1.494, allocations: 3.194 MB / 0.6341 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.496, allocations: 313.1 kB / 0.6344 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/1.511, allocations: 7.089 MB / 0.6413 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003532/1.514, allocations: 2.566 MB / 0.6438 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/1.515, allocations: 243.4 kB / 0.644 GB, free: 2.891 MB / 394.7 MB Notification: Performance of SimCode: time 1.957e-06/1.515, allocations: 0 / 0.644 GB, free: 2.891 MB / 394.7 MB Notification: Performance of Templates: time 0.3862/1.901, allocations: 134.6 MB / 0.7754 GB, free: 17.56 MB / 410.7 MB