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_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.002e-05, allocations: 0 / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07939/0.07945, allocations: 44.51 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3369/0.4164, allocations: 84.15 MB / 384 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4167, allocations: 89.12 kB / 384.1 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2298/0.6464, allocations: 61.17 MB / 445.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.112e-06/0.6465, allocations: 0 / 445.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.6466, allocations: 52 kB / 445.4 MB, free: 9.469 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.01049/0.6571, allocations: 3.021 MB / 448.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6572, allocations: 15.97 kB / 448.4 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.6687, allocations: 1.995 MB / 450.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.6803, allocations: 3.54 MB / 453.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.6807, allocations: 209.4 kB / 454.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.682, allocations: 274.6 kB / 454.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.7013, allocations: 7.871 MB / 462.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001688/0.7015, allocations: 51.56 kB / 462.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000914/0.7024, allocations: 147.9 kB / 462.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001555/0.704, allocations: 0.7729 MB / 463.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.7202, allocations: 6.304 MB / 469.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05888/0.7791, allocations: 41.38 MB / 0.4989 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00893/0.7881, allocations: 2.938 MB / 0.5018 GB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002705/0.7908, allocations: 1.387 MB / 0.5032 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.7919, allocations: 0.6355 MB / 0.5038 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.792, allocations: 47.12 kB / 0.5038 GB, free: 1.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.956e-06/0.792, allocations: 4 kB / 0.5038 GB, free: 1.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.3035/1.095, allocations: 18.26 MB / 0.5217 GB, free: 95.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.096, allocations: 144.9 kB / 0.5218 GB, free: 95.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/1.101, allocations: 2.884 MB / 0.5246 GB, free: 95.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003677/1.101, allocations: 43.92 kB / 0.5247 GB, free: 95.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/1.102, allocations: 2.321 MB / 0.5269 GB, free: 93.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007023/1.103, allocations: 0.6103 MB / 0.5275 GB, free: 93.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000417/1.104, allocations: 99.59 kB / 0.5276 GB, free: 93.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003062/1.104, allocations: 0.523 MB / 0.5281 GB, free: 93.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/1.108, allocations: 2.355 MB / 0.5304 GB, free: 93.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/1.114, allocations: 5.484 MB / 0.5358 GB, free: 89.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006147/1.12, allocations: 3.566 MB / 0.5393 GB, free: 88.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-05/1.12, allocations: 35.16 kB / 0.5393 GB, free: 88.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03058/1.151, allocations: 11.06 MB / 0.5501 GB, free: 85.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/1.151, allocations: 55.84 kB / 0.5502 GB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.151, allocations: 112.9 kB / 0.5503 GB, free: 85.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01795/1.169, allocations: 4.082 MB / 0.5543 GB, free: 84.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005585/1.174, allocations: 1.163 MB / 0.5554 GB, free: 84.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/1.2, allocations: 13.69 MB / 0.5688 GB, free: 75.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/1.206, allocations: 361.1 kB / 0.5691 GB, free: 75.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/1.207, allocations: 324.5 kB / 0.5694 GB, free: 75.2 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.0009559/1.208, allocations: 497.5 kB / 0.5699 GB, free: 74.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/1.209, allocations: 276.4 kB / 0.5702 GB, free: 74.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02053/1.229, allocations: 6.915 MB / 0.5769 GB, free: 69.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/1.229, allocations: 16 kB / 0.5769 GB, free: 69.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/1.229, allocations: 8 kB / 0.5769 GB, free: 69.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.229, allocations: 15.22 kB / 0.5769 GB, free: 69.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03626/1.266, allocations: 14.56 MB / 0.5912 GB, free: 56.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/1.266, allocations: 4 kB / 0.5912 GB, free: 56.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/1.267, allocations: 231.7 kB / 0.5914 GB, free: 56.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01687/1.284, allocations: 4.641 MB / 0.5959 GB, free: 51.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004135/1.284, allocations: 49.95 kB / 0.596 GB, free: 51.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/1.309, allocations: 13.76 MB / 0.6094 GB, free: 37.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.959e-06/1.309, allocations: 4 kB / 0.6094 GB, free: 37.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03272/1.342, allocations: 11.05 MB / 0.6202 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/1.343, allocations: 345.3 kB / 0.6205 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008082/1.343, allocations: 35.98 kB / 0.6206 GB, free: 26.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/1.346, allocations: 199.7 kB / 0.6208 GB, free: 26.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/1.347, allocations: 109.9 kB / 0.6209 GB, free: 25.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/1.347, allocations: 51.97 kB / 0.6209 GB, free: 25.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004736/1.352, allocations: 2.01 MB / 0.6229 GB, free: 23.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.009e-06/1.352, allocations: 0 / 0.6229 GB, free: 23.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00634/1.358, allocations: 0.9004 MB / 0.6238 GB, free: 22.96 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.000609/1.359, allocations: 178.6 kB / 0.6239 GB, free: 22.79 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.01363/1.372, allocations: 6.615 MB / 0.6304 GB, free: 16.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.255e-06/1.373, allocations: 0 / 0.6304 GB, free: 16.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007105/1.38, allocations: 3.167 MB / 0.6335 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/1.382, allocations: 306.1 kB / 0.6338 GB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.396, allocations: 6.744 MB / 0.6404 GB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/1.4, allocations: 2.555 MB / 0.6429 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005048/1.405, allocations: 1.619 MB / 0.6444 GB, free: 1.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/1.405, allocations: 195.4 kB / 0.6446 GB, free: 1.344 MB / 394.7 MB Notification: Performance of SimCode: time 1.947e-06/1.405, allocations: 0 / 0.6446 GB, free: 1.344 MB / 394.7 MB Notification: Performance of Templates: time 0.3984/1.804, allocations: 42.46 MB / 0.6861 GB, free: 102.2 MB / 410.7 MB