Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.728e-05, allocations: 2.344 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.07991, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.4714, allocations: 73.14 MB / 373 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4717, allocations: 68.08 kB / 373 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.4828, allocations: 2.962 MB / 376 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.87e-06/0.4828, allocations: 1.469 kB / 376 MB, free: 22.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.4829, allocations: 2.562 kB / 376 MB, free: 22.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005079/0.4834, allocations: 426.4 kB / 376.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4834, allocations: 9.281 kB / 376.4 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.4835, allocations: 21.34 kB / 376.5 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4837, allocations: 227.8 kB / 376.7 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4838, allocations: 9.312 kB / 376.7 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4838, allocations: 18.19 kB / 376.7 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.4842, allocations: 139.8 kB / 376.8 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4842, allocations: 2.828 kB / 376.8 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4842, allocations: 9.312 kB / 376.8 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.549e-06/0.4843, allocations: 4 kB / 376.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.4845, allocations: 87.95 kB / 376.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4856, allocations: 0.5957 MB / 377.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.4858, allocations: 114.6 kB / 377.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.4859, allocations: 38.62 kB / 377.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.486, allocations: 2.547 kB / 377.7 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.486, allocations: 31.84 kB / 377.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.133e-06/0.486, allocations: 0 / 377.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001506/0.4875, allocations: 0.7404 MB / 378.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.4876, allocations: 52.97 kB / 378.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4877, allocations: 143.4 kB / 378.6 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4878, allocations: 30.45 kB / 378.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.4878, allocations: 197.2 kB / 378.9 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.4879, allocations: 58.41 kB / 378.9 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.4879, allocations: 8.688 kB / 378.9 MB, free: 20.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.488, allocations: 328.4 kB / 379.3 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4881, allocations: 39.34 kB / 379.3 MB, free: 19.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4882, allocations: 69.66 kB / 379.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.4884, allocations: 47.86 kB / 379.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.4884, allocations: 5 kB / 379.4 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004511/0.4889, allocations: 187.1 kB / 379.6 MB, free: 19.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4889, allocations: 4.75 kB / 379.6 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.784e-06/0.4889, allocations: 0.9062 kB / 379.6 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.4891, allocations: 38.11 kB / 379.6 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.4894, allocations: 40.02 kB / 379.7 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.4905, allocations: 1.414 MB / 381.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.4907, allocations: 9.781 kB / 381.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4907, allocations: 8.688 kB / 381.1 MB, free: 18.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.4908, allocations: 115.5 kB / 381.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.4909, allocations: 14.25 kB / 381.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.491, allocations: 20.45 kB / 381.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-06/0.491, allocations: 6.297 kB / 381.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-06/0.491, allocations: 272 / 381.3 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.845e-06/0.491, allocations: 6.297 kB / 381.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.492, allocations: 0.5771 MB / 381.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-06/0.492, allocations: 0 / 381.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.4922, allocations: 33.98 kB / 381.9 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.4924, allocations: 32.2 kB / 381.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.4924, allocations: 12.91 kB / 381.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.4935, allocations: 1.362 MB / 383.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.471e-06/0.4935, allocations: 0 / 383.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.494, allocations: 326.1 kB / 383.6 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.4941, allocations: 90.86 kB / 383.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.4941, allocations: 5.297 kB / 383.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.4943, allocations: 8.578 kB / 383.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4944, allocations: 14.12 kB / 383.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4944, allocations: 7.031 kB / 383.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.4945, allocations: 113.4 kB / 383.8 MB, free: 16.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4945, allocations: 1.469 kB / 383.8 MB, free: 16.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004368/0.495, allocations: 45.59 kB / 383.9 MB, free: 16.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.4951, allocations: 106.7 kB / 384 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.4956, allocations: 235.5 kB / 384.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.343e-06/0.4957, allocations: 5.156 kB / 384.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.4959, allocations: 179.4 kB / 384.4 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4963, allocations: 24.19 kB / 384.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.4971, allocations: 384.2 kB / 384.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.4979, allocations: 0.7352 MB / 385.5 MB, free: 31.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.498, allocations: 16.19 kB / 385.5 MB, free: 31.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.825e-06/0.498, allocations: 0 / 385.5 MB, free: 31.14 MB / 330.7 MB Notification: Performance of Templates: time 0.005413/0.5034, allocations: 2.754 MB / 388.3 MB, free: 30.97 MB / 330.7 MB