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.751/1.751, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.464e-05, allocations: 10.17 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.03539/0.1631, allocations: 17.21 MB / 284.1 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1802, allocations: 4.801 MB / 288.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005534/0.1858, allocations: 79.81 kB / 289 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.19, allocations: 0.8594 MB / 289.9 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.2029, allocations: 2.583 MB / 292.4 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.2056, allocations: 447.2 kB / 292.9 MB, free: 7.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004518/0.2101, allocations: 1.159 MB / 294 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004565/0.2147, allocations: 1.571 MB / 295.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.2164, allocations: 0.5299 MB / 296.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.2192, allocations: 0.9274 MB / 297.1 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.2227, allocations: 0.7645 MB / 297.8 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.2239, allocations: 88 kB / 297.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.2264, allocations: 1.044 MB / 299 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.2276, allocations: 168 kB / 299.1 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2814/0.5091, allocations: 3.756 MB / 302.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5092, allocations: 0 / 302.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5092, allocations: 0 / 302.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.5094, allocations: 0 / 302.9 MB, free: 5.938 MB / 250.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.0127/0.5221, allocations: 2.95 MB / 305.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5222, allocations: 9.156 kB / 305.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.536, allocations: 2.033 MB / 307.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006532/0.5426, allocations: 1.874 MB / 309.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5429, allocations: 143.1 kB / 309.9 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.5444, allocations: 191 kB / 310.1 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.5641, allocations: 7.243 MB / 317.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.5643, allocations: 41.42 kB / 317.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007752/0.5651, allocations: 100.9 kB / 317.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003768/0.5689, allocations: 1.443 MB / 318.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.5868, allocations: 6.202 MB / 325.1 MB, free: 0.5508 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05817/0.645, allocations: 31.19 MB / 356.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.6563, allocations: 2.756 MB / 359 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.6575, allocations: 0.6325 MB / 359.7 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.6576, allocations: 47.11 kB / 359.7 MB, free: 148 kB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 4.629e-06/0.6576, allocations: 0 / 359.7 MB, free: 148 kB / 282.7 MB Notification: Performance of matching and sorting (n=154): time 0.1372/0.7949, allocations: 21.16 MB / 380.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.795, allocations: 141.5 kB / 381 MB, free: 10.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/0.8034, allocations: 3.018 MB / 384 MB, free: 7.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005015/0.804, allocations: 46.8 kB / 384.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002854/0.8068, allocations: 2.283 MB / 386.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.8081, allocations: 0.6104 MB / 387 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007708/0.8089, allocations: 100 kB / 387.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005243/0.8095, allocations: 0.5297 MB / 387.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006451/0.8159, allocations: 2.263 MB / 389.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009823/0.8258, allocations: 5.409 MB / 395.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/0.835, allocations: 3.432 MB / 398.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/0.8352, allocations: 32 kB / 398.7 MB, free: 7.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.04354/0.8787, allocations: 10.47 MB / 409.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.8789, allocations: 55.98 kB / 409.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/0.8791, allocations: 112 kB / 409.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02277/0.9019, allocations: 3.453 MB / 412.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007455/0.9094, allocations: 1.162 MB / 414 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03479/0.9443, allocations: 12.41 MB / 426.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/0.9509, allocations: 355.4 kB / 426.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/0.9523, allocations: 324 kB / 427.1 MB, free: 11.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (615): * Single equations (assignments): 605 * 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 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005256/0.9576, allocations: 1.565 MB / 428.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009401/0.9586, allocations: 276.4 kB / 428.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03009/0.9887, allocations: 6.029 MB / 434.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-05/0.9888, allocations: 19.94 kB / 434.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/0.9888, allocations: 8 kB / 434.9 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/0.9889, allocations: 7.969 kB / 435 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3011/1.29, allocations: 13.38 MB / 448.3 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/1.29, allocations: 1.5 kB / 448.3 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.292, allocations: 234.2 kB / 448.6 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02291/1.315, allocations: 4.012 MB / 452.6 MB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/1.316, allocations: 46.75 kB / 452.6 MB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/1.346, allocations: 12.42 MB / 465 MB, free: 103.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.346, allocations: 1.562 kB / 465 MB, free: 103.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03479/1.381, allocations: 9.978 MB / 475 MB, free: 94.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.382, allocations: 353 kB / 475.4 MB, free: 93.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009187/1.383, allocations: 35.98 kB / 475.4 MB, free: 93.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003034/1.386, allocations: 190.5 kB / 475.6 MB, free: 93.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/1.386, allocations: 112.6 kB / 475.7 MB, free: 93.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.387, allocations: 47.31 kB / 475.7 MB, free: 93.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004652/1.391, allocations: 2.118 MB / 477.9 MB, free: 91.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.391, allocations: 0 / 477.9 MB, free: 91.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005998/1.397, allocations: 0.8905 MB / 478.7 MB, free: 90.56 MB / 362.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 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007195/1.398, allocations: 182.9 kB / 478.9 MB, free: 90.4 MB / 362.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.01583/1.414, allocations: 6.322 MB / 485.2 MB, free: 84.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.414, allocations: 4 kB / 485.3 MB, free: 84.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008029/1.422, allocations: 2.863 MB / 488.1 MB, free: 81.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.425, allocations: 308.8 kB / 488.4 MB, free: 80.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.443, allocations: 9.26 MB / 497.7 MB, free: 71.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.447, allocations: 2.556 MB / 0.4885 GB, free: 69.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.449, allocations: 239.4 kB / 0.4887 GB, free: 68.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/1.449, allocations: 0 / 0.4887 GB, free: 68.88 MB / 362.7 MB Notification: Performance of Templates: time 0.6083/2.057, allocations: 134.3 MB / 0.6199 GB, free: 88.25 MB / 378.7 MB