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 2.03/2.03, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.876e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2474, allocations: 44.51 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3583, allocations: 72.47 MB / 366.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3586, allocations: 75.78 kB / 366.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.37, allocations: 2.928 MB / 369.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3701, allocations: 3.938 kB / 369.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.3701, allocations: 4 kB / 369.6 MB, free: 6.492 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.0006394/0.3708, allocations: 426.1 kB / 370 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3708, allocations: 12.02 kB / 370 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.3709, allocations: 23.72 kB / 370 MB, free: 5.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3712, allocations: 216.9 kB / 370.3 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3712, allocations: 4 kB / 370.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.3713, allocations: 12 kB / 370.3 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000255/0.3716, allocations: 75.98 kB / 370.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3719, allocations: 129.2 kB / 370.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3719, allocations: 3.984 kB / 370.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.372, allocations: 4 kB / 370.5 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1e-05/0.372, allocations: 4 kB / 370.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.3731, allocations: 0.558 MB / 371 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3734, allocations: 94.66 kB / 371.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.3735, allocations: 32.86 kB / 371.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3735, allocations: 0 / 371.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3735, allocations: 34.56 kB / 371.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.158e-06/0.3735, allocations: 4 kB / 371.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.00164/0.3752, allocations: 0.6848 MB / 371.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3753, allocations: 63.34 kB / 372 MB, free: 3.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3754, allocations: 121.2 kB / 372.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3755, allocations: 29.7 kB / 372.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3756, allocations: 194.5 kB / 372.3 MB, free: 3.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.3757, allocations: 59.11 kB / 372.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-06/0.3757, allocations: 0 / 372.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3759, allocations: 326.8 kB / 372.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.376, allocations: 36.38 kB / 372.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3761, allocations: 63.98 kB / 372.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3763, allocations: 52.61 kB / 372.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-06/0.3763, allocations: 0 / 372.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000453/0.3767, allocations: 163.8 kB / 373 MB, free: 2.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3768, allocations: 4 kB / 373 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-06/0.3768, allocations: 4 kB / 373 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.377, allocations: 40.89 kB / 373 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.3772, allocations: 35.94 kB / 373.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.3789, allocations: 1.358 MB / 374.4 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.379, allocations: 4.031 kB / 374.4 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3791, allocations: 11.98 kB / 374.4 MB, free: 1.23 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 0.0001194/0.3792, allocations: 108.9 kB / 374.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.3793, allocations: 15.75 kB / 374.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.3794, allocations: 16.94 kB / 374.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-06/0.3794, allocations: 0 / 374.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3794, allocations: 16.02 kB / 374.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3794, allocations: 0 / 374.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3805, allocations: 0.5236 MB / 375.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-06/0.3805, allocations: 0 / 375.1 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3807, allocations: 31.92 kB / 375.1 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.3809, allocations: 36.83 kB / 375.2 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3809, allocations: 0 / 375.2 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.3825, allocations: 1.315 MB / 376.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.075e-06/0.3825, allocations: 3.938 kB / 376.5 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.3831, allocations: 292.2 kB / 376.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.3832, allocations: 84.92 kB / 376.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3832, allocations: 7.984 kB / 376.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3834, allocations: 4.125 kB / 376.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3835, allocations: 27.81 kB / 376.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3835, allocations: 4 kB / 376.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.86e-05/0.3836, allocations: 102.2 kB / 377 MB, free: 14.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.3836, allocations: 0 / 377 MB, free: 14.44 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.3841, allocations: 40 kB / 377 MB, free: 14.4 MB / 330.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.0001798/0.3843, allocations: 95.25 kB / 377.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.3848, allocations: 221.6 kB / 377.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.083e-06/0.3849, allocations: 0 / 377.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.3852, allocations: 173.7 kB / 377.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3856, allocations: 15.98 kB / 377.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009369/0.3865, allocations: 367.6 kB / 377.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.387, allocations: 0.7358 MB / 378.6 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.3871, allocations: 19.42 kB / 378.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 4.789e-06/0.3871, allocations: 0 / 378.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Templates: time 0.006015/0.3931, allocations: 2.671 MB / 381.3 MB, free: 10.03 MB / 330.7 MB