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.85/1.85, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.723e-05, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07892, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4201, allocations: 84.15 MB / 384 MB, free: 21.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4204, allocations: 83.22 kB / 384.1 MB, free: 21.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.263/0.6834, allocations: 61.18 MB / 445.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.6834, allocations: 0 / 445.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.6836, allocations: 52 kB / 445.3 MB, free: 9.957 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.01023/0.6938, allocations: 3.017 MB / 448.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.6939, allocations: 11.97 kB / 448.4 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.7054, allocations: 1.999 MB / 450.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.717, allocations: 3.54 MB / 453.9 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.7174, allocations: 211 kB / 454.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.7187, allocations: 281.7 kB / 454.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.7369, allocations: 7.861 MB / 462.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.7371, allocations: 55.55 kB / 462.3 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000692/0.7379, allocations: 147.9 kB / 462.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/0.7393, allocations: 0.7729 MB / 463.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.755, allocations: 6.304 MB / 469.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05775/0.8128, allocations: 41.39 MB / 0.4989 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008842/0.8217, allocations: 2.927 MB / 0.5018 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.8244, allocations: 1.387 MB / 0.5031 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000997/0.8254, allocations: 0.6355 MB / 0.5038 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.8255, allocations: 51.12 kB / 0.5038 GB, free: 1.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.677e-06/0.8255, allocations: 0 / 0.5038 GB, free: 1.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.2996/1.125, allocations: 18.26 MB / 0.5216 GB, free: 95.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.125, allocations: 149.4 kB / 0.5218 GB, free: 95.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005663/1.131, allocations: 2.884 MB / 0.5246 GB, free: 95.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004015/1.131, allocations: 50.86 kB / 0.5246 GB, free: 95.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.133, allocations: 2.282 MB / 0.5269 GB, free: 94.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008014/1.134, allocations: 0.6081 MB / 0.5275 GB, free: 93.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/1.134, allocations: 107.5 kB / 0.5276 GB, free: 93.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003215/1.135, allocations: 0.5285 MB / 0.5281 GB, free: 93.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004552/1.139, allocations: 2.36 MB / 0.5304 GB, free: 93.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/1.145, allocations: 5.48 MB / 0.5357 GB, free: 89.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006462/1.152, allocations: 3.565 MB / 0.5392 GB, free: 88.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.146e-05/1.152, allocations: 32.88 kB / 0.5393 GB, free: 88.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03253/1.184, allocations: 10.98 MB / 0.55 GB, free: 85.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/1.185, allocations: 54.75 kB / 0.55 GB, free: 85.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.185, allocations: 113.5 kB / 0.5501 GB, free: 85.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01807/1.203, allocations: 4.093 MB / 0.5541 GB, free: 85.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005074/1.208, allocations: 1.163 MB / 0.5553 GB, free: 84.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0267/1.235, allocations: 13.7 MB / 0.5687 GB, free: 76.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/1.241, allocations: 358.6 kB / 0.569 GB, free: 76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.242, allocations: 319.8 kB / 0.5693 GB, free: 75.69 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.001522/1.243, allocations: 0.4936 MB / 0.5698 GB, free: 75.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/1.244, allocations: 276.4 kB / 0.57 GB, free: 74.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/1.265, allocations: 6.905 MB / 0.5768 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-05/1.265, allocations: 16 kB / 0.5768 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.265, allocations: 16 kB / 0.5768 GB, free: 69.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.266, allocations: 5.484 kB / 0.5768 GB, free: 69.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0375/1.303, allocations: 14.57 MB / 0.591 GB, free: 57.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/1.303, allocations: 0 / 0.591 GB, free: 57.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.304, allocations: 231.7 kB / 0.5913 GB, free: 56.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/1.322, allocations: 4.641 MB / 0.5958 GB, free: 52.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004494/1.322, allocations: 51.95 kB / 0.5958 GB, free: 52.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02489/1.347, allocations: 13.77 MB / 0.6093 GB, free: 38.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.547e-06/1.347, allocations: 6.719 kB / 0.6093 GB, free: 38.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02649/1.374, allocations: 11.05 MB / 0.6201 GB, free: 27.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/1.375, allocations: 341.4 kB / 0.6204 GB, free: 26.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006575/1.375, allocations: 35.19 kB / 0.6205 GB, free: 26.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/1.378, allocations: 199.7 kB / 0.6206 GB, free: 26.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006201/1.378, allocations: 112.7 kB / 0.6207 GB, free: 26.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.379, allocations: 55.97 kB / 0.6208 GB, free: 26.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004006/1.383, allocations: 1.998 MB / 0.6228 GB, free: 24.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.045e-06/1.383, allocations: 0 / 0.6228 GB, free: 24.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005978/1.389, allocations: 0.9125 MB / 0.6236 GB, free: 23.43 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.0005682/1.389, allocations: 164.1 kB / 0.6238 GB, free: 23.27 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.0138/1.403, allocations: 6.626 MB / 0.6303 GB, free: 16.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.403, allocations: 0 / 0.6303 GB, free: 16.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007119/1.41, allocations: 3.175 MB / 0.6334 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.413, allocations: 309.1 kB / 0.6337 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.427, allocations: 7.09 MB / 0.6406 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/1.43, allocations: 2.552 MB / 0.6431 GB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.431, allocations: 243.4 kB / 0.6433 GB, free: 3.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.091e-06/1.431, allocations: 3.938 kB / 0.6433 GB, free: 3.031 MB / 394.7 MB Notification: Performance of Templates: time 0.4344/1.866, allocations: 133.7 MB / 0.7739 GB, free: 18.92 MB / 410.7 MB