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 2.01/2.01, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.967e-05, allocations: 7.938 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.02799/0.3447, allocations: 17.21 MB / 320.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.3589, allocations: 4.813 MB / 325.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004224/0.3632, allocations: 83.81 kB / 325.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.3669, allocations: 0.8594 MB / 326.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.379, allocations: 2.583 MB / 328.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.3813, allocations: 427.3 kB / 329.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.385, allocations: 1.159 MB / 330.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.3888, allocations: 1.575 MB / 332 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.3902, allocations: 0.5377 MB / 332.5 MB, free: 352 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.3926, allocations: 0.9313 MB / 333.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.3952, allocations: 0.7567 MB / 334.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009763/0.3963, allocations: 84 kB / 334.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.3984, allocations: 1.044 MB / 335.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.3994, allocations: 172 kB / 335.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006893/0.4064, allocations: 3.762 MB / 339.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4064, allocations: 0 / 339.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.4065, allocations: 0 / 339.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001905/0.4067, allocations: 0 / 339.3 MB, free: 9.586 MB / 282.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.01227/0.4189, allocations: 2.956 MB / 342.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.419, allocations: 12.03 kB / 342.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.4327, allocations: 2.043 MB / 344.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/0.4387, allocations: 1.862 MB / 346.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.439, allocations: 139.6 kB / 346.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.4402, allocations: 199.8 kB / 346.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.4592, allocations: 7.237 MB / 353.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.4594, allocations: 39.69 kB / 353.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008235/0.4603, allocations: 99.84 kB / 353.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004162/0.4644, allocations: 1.448 MB / 355.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.4838, allocations: 6.203 MB / 361.5 MB, free: 2.598 MB / 298.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.05488/0.5388, allocations: 31.17 MB / 392.7 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.5501, allocations: 2.758 MB / 395.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.5513, allocations: 0.6433 MB / 396.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/0.5514, allocations: 51.05 kB / 396.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 5.049e-06/0.5514, allocations: 0 / 396.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.1363/0.6877, allocations: 21.12 MB / 417.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6879, allocations: 149.5 kB / 417.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007344/0.6953, allocations: 3.018 MB / 420.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.6957, allocations: 49.7 kB / 420.5 MB, free: 6.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/0.6985, allocations: 2.283 MB / 422.8 MB, free: 3.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.6997, allocations: 0.6017 MB / 423.4 MB, free: 3.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006167/0.7003, allocations: 100 kB / 423.5 MB, free: 3.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005174/0.7008, allocations: 0.5335 MB / 424 MB, free: 2.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006101/0.7069, allocations: 2.267 MB / 426.3 MB, free: 368 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3084/1.015, allocations: 5.404 MB / 431.7 MB, free: 102.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007895/1.023, allocations: 3.429 MB / 435.1 MB, free: 101.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/1.024, allocations: 35.09 kB / 435.1 MB, free: 101.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=675) (initialization): time 0.03965/1.063, allocations: 10.48 MB / 445.6 MB, free: 97.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/1.063, allocations: 53.72 kB / 445.7 MB, free: 97.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/1.064, allocations: 112 kB / 445.8 MB, free: 97.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02105/1.085, allocations: 3.463 MB / 449.2 MB, free: 94.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00683/1.092, allocations: 1.162 MB / 450.4 MB, free: 93.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02995/1.122, allocations: 12.4 MB / 462.8 MB, free: 80.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/1.128, allocations: 345.4 kB / 463.1 MB, free: 80.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.129, allocations: 324 kB / 463.4 MB, free: 80.07 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.004202/1.133, allocations: 1.566 MB / 465 MB, free: 78.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/1.134, allocations: 277.2 kB / 465.3 MB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.162, allocations: 6.027 MB / 471.3 MB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/1.162, allocations: 20 kB / 471.3 MB, free: 72.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/1.162, allocations: 8 kB / 471.3 MB, free: 72.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/1.162, allocations: 7.969 kB / 471.3 MB, free: 72.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04719/1.209, allocations: 13.39 MB / 484.7 MB, free: 58.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.209, allocations: 4 kB / 484.7 MB, free: 58.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.211, allocations: 227.8 kB / 485 MB, free: 58.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02258/1.234, allocations: 4.032 MB / 489 MB, free: 54.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/1.234, allocations: 47.91 kB / 489 MB, free: 54.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0295/1.264, allocations: 12.41 MB / 0.4897 GB, free: 42.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.264, allocations: 0 / 0.4897 GB, free: 42.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03468/1.298, allocations: 9.972 MB / 0.4994 GB, free: 32.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/1.299, allocations: 349.3 kB / 0.4998 GB, free: 31.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009117/1.3, allocations: 39.98 kB / 0.4998 GB, free: 31.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.303, allocations: 183.7 kB / 0.5 GB, free: 31.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/1.304, allocations: 112.8 kB / 0.5001 GB, free: 31.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.304, allocations: 56.77 kB / 0.5001 GB, free: 31.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004185/1.308, allocations: 2.118 MB / 0.5022 GB, free: 29.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.309, allocations: 0 / 0.5022 GB, free: 29.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005795/1.314, allocations: 0.8897 MB / 0.5031 GB, free: 28.34 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.0008926/1.315, allocations: 174.7 kB / 0.5032 GB, free: 28.17 MB / 362.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.01594/1.331, allocations: 6.323 MB / 0.5094 GB, free: 21.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.331, allocations: 0 / 0.5094 GB, free: 21.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00816/1.339, allocations: 2.875 MB / 0.5122 GB, free: 18.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.342, allocations: 311.7 kB / 0.5125 GB, free: 18.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.366, allocations: 9.249 MB / 0.5216 GB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.369, allocations: 2.563 MB / 0.5241 GB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.371, allocations: 243.4 kB / 0.5243 GB, free: 6.285 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/1.371, allocations: 0 / 0.5243 GB, free: 6.285 MB / 362.7 MB Notification: Performance of Templates: time 0.5055/1.876, allocations: 134.3 MB / 0.6554 GB, free: 41.39 MB / 394.7 MB