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.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.401e-05, allocations: 7.984 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.3488, allocations: 67.83 MB / 331.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/0.3492, allocations: 67.95 kB / 331.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.3676, allocations: 2.967 MB / 334.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.042e-06/0.3677, allocations: 0 / 334.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.3677, allocations: 4 kB / 334.6 MB, free: 2.891 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007077/0.3684, allocations: 434.2 kB / 335 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3685, allocations: 12.02 kB / 335.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.3686, allocations: 19.81 kB / 335.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3689, allocations: 210.8 kB / 335.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3689, allocations: 12 kB / 335.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.369, allocations: 19.91 kB / 335.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3694, allocations: 149.5 kB / 335.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.3694, allocations: 4 kB / 335.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.3694, allocations: 4 kB / 335.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-06/0.3695, allocations: 8 kB / 335.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.3697, allocations: 83.98 kB / 335.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.371, allocations: 0.6081 MB / 336.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3712, allocations: 110.6 kB / 336.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.3714, allocations: 32.86 kB / 336.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3714, allocations: 4 kB / 336.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3714, allocations: 34.56 kB / 336.3 MB, free: 1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.907e-06/0.3715, allocations: 0 / 336.3 MB, free: 1 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001762/0.3732, allocations: 0.7348 MB / 337.1 MB, free: 180 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3733, allocations: 55.41 kB / 337.1 MB, free: 112 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3735, allocations: 141.5 kB / 337.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3736, allocations: 29.64 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3737, allocations: 198.7 kB / 337.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.3738, allocations: 67 kB / 337.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.3738, allocations: 0 / 337.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.374, allocations: 314.8 kB / 337.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3741, allocations: 40.38 kB / 337.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3743, allocations: 75.92 kB / 338 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3745, allocations: 43.98 kB / 338 MB, free: 15.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-06/0.3745, allocations: 224 / 338 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005071/0.375, allocations: 182.3 kB / 338.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.375, allocations: 13.97 kB / 338.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-06/0.3751, allocations: 4.062 kB / 338.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.3753, allocations: 40.78 kB / 338.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3755, allocations: 35.97 kB / 338.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.3773, allocations: 1.421 MB / 339.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3774, allocations: 4 kB / 339.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3775, allocations: 8 kB / 339.7 MB, free: 13.33 MB / 298.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.0001201/0.3776, allocations: 116.7 kB / 339.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.3777, allocations: 11.81 kB / 339.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.3778, allocations: 28.8 kB / 339.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3778, allocations: 4 kB / 339.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-06/0.3778, allocations: 0 / 339.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-06/0.3778, allocations: 0 / 339.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3789, allocations: 0.576 MB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-06/0.3789, allocations: 4.188 kB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3792, allocations: 31.98 kB / 340.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.3794, allocations: 40.77 kB / 340.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3794, allocations: 0 / 340.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.381, allocations: 1.367 MB / 341.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-06/0.381, allocations: 0 / 341.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/0.3817, allocations: 329.7 kB / 342.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.3818, allocations: 85.12 kB / 342.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.3818, allocations: 12 kB / 342.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.382, allocations: 4 kB / 342.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.3821, allocations: 11.98 kB / 342.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3821, allocations: 7.953 kB / 342.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3822, allocations: 124 kB / 342.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.3823, allocations: 0 / 342.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.3827, allocations: 48 kB / 342.5 MB, free: 10.3 MB / 298.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.0001733/0.3829, allocations: 107.2 kB / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.3835, allocations: 236.6 kB / 342.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-06/0.3835, allocations: 0 / 342.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.3838, allocations: 177.6 kB / 343 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3842, allocations: 15.98 kB / 343 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.3851, allocations: 381.4 kB / 343.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3856, allocations: 0.7324 MB / 344.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.3857, allocations: 19.44 kB / 344.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3857, allocations: 0 / 344.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of Templates: time 0.005935/0.3916, allocations: 2.738 MB / 346.9 MB, free: 5.82 MB / 298.7 MB