Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 225.8 MB / 238.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.034e-05, allocations: 4 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09414, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.5778, allocations: 78.73 MB / 421.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.578, allocations: 62.34 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.5898, allocations: 3.148 MB / 424.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5899, allocations: 4 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.5899, allocations: 4 kB / 424.5 MB, free: 12.77 MB / 346.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.0006261/0.5905, allocations: 426.4 kB / 424.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5906, allocations: 8.031 kB / 424.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.5907, allocations: 27.67 kB / 424.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.591, allocations: 213.9 kB / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.591, allocations: 11.94 kB / 425.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.591, allocations: 19.88 kB / 425.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.5914, allocations: 147.4 kB / 425.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5914, allocations: 0 / 425.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.5915, allocations: 7.875 kB / 425.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.5915, allocations: 7.953 kB / 425.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.5918, allocations: 86.55 kB / 425.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.5929, allocations: 0.5885 MB / 426 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.5931, allocations: 102.5 kB / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.5933, allocations: 47.88 kB / 426.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5933, allocations: 7.984 kB / 426.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5933, allocations: 34.5 kB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.367e-06/0.5934, allocations: 0 / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001647/0.595, allocations: 0.7299 MB / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.5951, allocations: 51.41 kB / 427 MB, free: 10.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.5953, allocations: 148.3 kB / 427.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5953, allocations: 29.92 kB / 427.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5954, allocations: 133.1 kB / 427.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.5955, allocations: 66.05 kB / 427.4 MB, free: 10 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.5955, allocations: 3.312 kB / 427.4 MB, free: 10 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5957, allocations: 333.9 kB / 427.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5958, allocations: 35 kB / 427.7 MB, free: 9.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.596, allocations: 62.56 kB / 427.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.5961, allocations: 48.53 kB / 427.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.125e-06/0.5961, allocations: 0 / 427.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004713/0.5966, allocations: 197 kB / 428 MB, free: 9.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5967, allocations: 8 kB / 428 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-06/0.5967, allocations: 0 / 428 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.5969, allocations: 46.89 kB / 428.1 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.5971, allocations: 31.92 kB / 428.1 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.5988, allocations: 1.414 MB / 429.5 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.5989, allocations: 7.438 kB / 429.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5989, allocations: 4 kB / 429.5 MB, free: 7.871 MB / 346.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.0001189/0.5991, allocations: 128 kB / 429.7 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.5991, allocations: 7.906 kB / 429.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.5992, allocations: 22.36 kB / 429.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-06/0.5992, allocations: 4 kB / 429.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5992, allocations: 0 / 429.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-06/0.5992, allocations: 0 / 429.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.6003, allocations: 0.5793 MB / 430.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6003, allocations: 4.172 kB / 430.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.6006, allocations: 35.23 kB / 430.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.6007, allocations: 28.16 kB / 430.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.6008, allocations: 7.516 kB / 430.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.6022, allocations: 1.364 MB / 431.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6023, allocations: 0 / 431.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.6028, allocations: 327 kB / 432 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.6029, allocations: 88.95 kB / 432.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.603, allocations: 3.75 kB / 432.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.6031, allocations: 11.75 kB / 432.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.6032, allocations: 7.984 kB / 432.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.6032, allocations: 11.92 kB / 432.1 MB, free: 5.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.6034, allocations: 113.8 kB / 432.3 MB, free: 5.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6034, allocations: 4.062 kB / 432.3 MB, free: 5.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.6038, allocations: 51.67 kB / 432.3 MB, free: 5.129 MB / 346.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.0001595/0.604, allocations: 102.4 kB / 432.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.6045, allocations: 234.2 kB / 432.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.901e-06/0.6045, allocations: 3.938 kB / 432.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.6049, allocations: 187 kB / 432.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.6052, allocations: 19.58 kB / 432.8 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.606, allocations: 354.5 kB / 433.2 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.6065, allocations: 0.7324 MB / 433.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.221e-05/0.6066, allocations: 13.33 kB / 433.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.6067, allocations: 19.38 kB / 434 MB, free: 3.504 MB / 346.7 MB Notification: Performance of SimCode: time 2.047e-06/0.6067, allocations: 4 kB / 434 MB, free: 3.5 MB / 346.7 MB Notification: Performance of Templates: time 0.006395/0.6131, allocations: 1.655 MB / 435.6 MB, free: 1.863 MB / 346.7 MB