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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.724e-05, allocations: 4 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2846, allocations: 44.5 MB / 303.3 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002604/0.2873, allocations: 1.629 MB / 304.9 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2884, allocations: 494.4 kB / 305.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2885, allocations: 6.125 kB / 305.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.955e-05/0.2886, allocations: 22.78 kB / 305.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2888, allocations: 54.14 kB / 305.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2889, allocations: 41.22 kB / 305.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.2892, allocations: 112.5 kB / 305.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2893, allocations: 36.7 kB / 305.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.672e-05/0.2894, allocations: 51.7 kB / 305.7 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2896, allocations: 67.33 kB / 305.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.2896, allocations: 10.91 kB / 305.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2897, allocations: 6.312 kB / 305.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.2897, allocations: 24.48 kB / 305.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.2898, allocations: 17.53 kB / 305.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.29, allocations: 153.2 kB / 306 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.29, allocations: 4 kB / 306 MB, free: 10.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2901, allocations: 1.219 kB / 306 MB, free: 10.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2901, allocations: 0 / 306 MB, free: 10.79 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007297/0.2908, allocations: 427.8 kB / 306.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2909, allocations: 13.77 kB / 306.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.2909, allocations: 29.45 kB / 306.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2912, allocations: 222.9 kB / 306.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2913, allocations: 11.44 kB / 306.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.2913, allocations: 14.66 kB / 306.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.2918, allocations: 152.6 kB / 306.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2918, allocations: 0 / 306.9 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.2918, allocations: 4 kB / 306.9 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2919, allocations: 4 kB / 306.9 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003669/0.2922, allocations: 115.9 kB / 307 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2934, allocations: 0.5927 MB / 307.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2938, allocations: 110.6 kB / 307.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2938, allocations: 0 / 307.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2939, allocations: 34.56 kB / 307.7 MB, free: 9.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2939, allocations: 3.938 kB / 307.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.002102/0.296, allocations: 0.8152 MB / 308.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2961, allocations: 55.41 kB / 308.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2962, allocations: 145.3 kB / 308.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2963, allocations: 33.7 kB / 308.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.2964, allocations: 136.2 kB / 308.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.2964, allocations: 59.11 kB / 309 MB, free: 7.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.2965, allocations: 4 kB / 309 MB, free: 7.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2966, allocations: 326.8 kB / 309.3 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2968, allocations: 44.36 kB / 309.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.297, allocations: 76.16 kB / 309.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.2972, allocations: 55.98 kB / 309.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2972, allocations: 3.938 kB / 309.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006019/0.2978, allocations: 203.6 kB / 309.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2978, allocations: 7.953 kB / 309.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2979, allocations: 7.938 kB / 309.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.2981, allocations: 44.77 kB / 309.7 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2984, allocations: 36.05 kB / 309.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.2999, allocations: 1.425 MB / 311.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3001, allocations: 12.08 kB / 311.2 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3001, allocations: 8 kB / 311.2 MB, free: 5.25 MB / 250.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.0001508/0.3003, allocations: 129.8 kB / 311.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.3004, allocations: 19.77 kB / 311.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.3004, allocations: 21.19 kB / 311.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3005, allocations: 0 / 311.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3005, allocations: 4 kB / 311.4 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3005, allocations: 3.984 kB / 311.4 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3016, allocations: 0.5826 MB / 312 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3017, allocations: 4 kB / 312 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.302, allocations: 35.92 kB / 312 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.3021, allocations: 36.83 kB / 312 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3022, allocations: 0 / 312 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.3036, allocations: 1.382 MB / 313.4 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3036, allocations: 3.938 kB / 313.4 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.3043, allocations: 348 kB / 313.8 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.3044, allocations: 88.95 kB / 313.9 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.3045, allocations: 7.984 kB / 313.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3046, allocations: 4 kB / 313.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3047, allocations: 11.98 kB / 313.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3047, allocations: 4 kB / 313.9 MB, free: 2.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3049, allocations: 119.2 kB / 314 MB, free: 2.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3049, allocations: 0 / 314 MB, free: 2.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.3053, allocations: 44 kB / 314 MB, free: 2.164 MB / 250.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.0001573/0.3055, allocations: 107.2 kB / 314.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.3062, allocations: 251.4 kB / 314.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3062, allocations: 0 / 314.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.3066, allocations: 198.7 kB / 314.6 MB, free: 1.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3069, allocations: 27.88 kB / 314.6 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3082, allocations: 0.587 MB / 315.2 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3085, allocations: 0.7362 MB / 315.9 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.3086, allocations: 17.53 kB / 316 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.3087, allocations: 15.44 kB / 316 MB, free: 152 kB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3087, allocations: 7.938 kB / 316 MB, free: 144 kB / 250.7 MB Notification: Performance of Templates: time 0.00657/0.3153, allocations: 1.667 MB / 317.6 MB, free: 14.48 MB / 266.7 MB