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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.55e-05, allocations: 4 kB / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.242, allocations: 38.77 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3613, allocations: 67.84 MB / 331.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.3617, allocations: 63.97 kB / 331.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.3795, allocations: 2.972 MB / 334.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.938e-06/0.3796, allocations: 4 kB / 334.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.3796, allocations: 0 / 334.7 MB, free: 2.859 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.0009579/0.3806, allocations: 430.2 kB / 335.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.3807, allocations: 8.219 kB / 335.1 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.3808, allocations: 19.81 kB / 335.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.3813, allocations: 214.7 kB / 335.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.3814, allocations: 12 kB / 335.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.3815, allocations: 23.91 kB / 335.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.3821, allocations: 149.4 kB / 335.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.3821, allocations: 0 / 335.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.3822, allocations: 8 kB / 335.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3822, allocations: 4 kB / 335.5 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.3826, allocations: 87.98 kB / 335.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3845, allocations: 0.6042 MB / 336.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.385, allocations: 106.6 kB / 336.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3851, allocations: 40.84 kB / 336.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3852, allocations: 8 kB / 336.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.3853, allocations: 30.56 kB / 336.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.817e-06/0.3853, allocations: 0 / 336.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.002625/0.3879, allocations: 0.7326 MB / 337.1 MB, free: 140 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.388, allocations: 55.39 kB / 337.2 MB, free: 72 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.3883, allocations: 137.4 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3884, allocations: 29.7 kB / 337.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3886, allocations: 136.2 kB / 337.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3887, allocations: 67 kB / 337.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.3888, allocations: 8 kB / 337.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.389, allocations: 318.8 kB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.3892, allocations: 40.38 kB / 337.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.3894, allocations: 75.73 kB / 338 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.3897, allocations: 47.92 kB / 338 MB, free: 15.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-06/0.3897, allocations: 224 / 338 MB, free: 15.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008461/0.3906, allocations: 190.3 kB / 338.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.3906, allocations: 11.94 kB / 338.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-06/0.3907, allocations: 0 / 338.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.391, allocations: 36.84 kB / 338.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.3914, allocations: 31.92 kB / 338.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.394, allocations: 1.417 MB / 339.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.3942, allocations: 16.02 kB / 339.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3943, allocations: 8 kB / 339.7 MB, free: 13.34 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.0001632/0.3945, allocations: 116.8 kB / 339.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.3946, allocations: 15.81 kB / 339.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.3947, allocations: 20.75 kB / 339.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.094e-06/0.3947, allocations: 4 kB / 339.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3947, allocations: 3.984 kB / 339.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-06/0.3948, allocations: 0 / 339.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3965, allocations: 0.5858 MB / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3966, allocations: 0 / 340.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.3969, allocations: 27.98 kB / 340.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.3972, allocations: 32.83 kB / 340.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3973, allocations: 4.188 kB / 340.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.3995, allocations: 1.367 MB / 341.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.856e-06/0.3995, allocations: 3.984 kB / 341.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.4005, allocations: 323.5 kB / 342.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4006, allocations: 84.92 kB / 342.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.4006, allocations: 4 kB / 342.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.4009, allocations: 11.98 kB / 342.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.401, allocations: 11.98 kB / 342.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4011, allocations: 7.953 kB / 342.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.4013, allocations: 124 kB / 342.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.78e-07/0.4013, allocations: 0 / 342.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00082/0.4022, allocations: 44.06 kB / 342.5 MB, free: 10.32 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.0002243/0.4024, allocations: 107.2 kB / 342.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.4033, allocations: 228.7 kB / 342.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/0.4033, allocations: 4 kB / 342.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4039, allocations: 177.6 kB / 343 MB, free: 9.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.4044, allocations: 28.28 kB / 343 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4058, allocations: 351.5 kB / 343.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/0.4065, allocations: 0.7363 MB / 344.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.4067, allocations: 17.33 kB / 344.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.4067, allocations: 15.44 kB / 344.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of SimCode: time 2.108e-06/0.4068, allocations: 0 / 344.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of Templates: time 0.009956/0.4167, allocations: 1.644 MB / 345.8 MB, free: 6.957 MB / 298.7 MB