Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.412e-05, allocations: 6.5 kB / 292.7 MB, free: 8.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 50.41 MB / 343.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.524/0.6467, allocations: 78.73 MB / 421.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.6471, allocations: 69.03 kB / 421.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01931/0.6665, allocations: 3.14 MB / 425 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.84e-06/0.6665, allocations: 0 / 425 MB, free: 12.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.6666, allocations: 4 kB / 425 MB, free: 12.82 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.0009788/0.6676, allocations: 428.1 kB / 425.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.6676, allocations: 8.031 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.6678, allocations: 23.67 kB / 425.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.6682, allocations: 213.6 kB / 425.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6683, allocations: 14.88 kB / 425.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.6684, allocations: 18.81 kB / 425.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.669, allocations: 146 kB / 425.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.669, allocations: 3.984 kB / 425.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.6691, allocations: 9.938 kB / 425.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6691, allocations: 11.94 kB / 425.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.6696, allocations: 78.69 kB / 425.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.6714, allocations: 0.6043 MB / 426.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.6719, allocations: 101.3 kB / 426.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.6721, allocations: 36.56 kB / 426.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.6721, allocations: 15.94 kB / 426.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6722, allocations: 34.19 kB / 426.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 4.321e-06/0.6722, allocations: 0 / 426.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002763/0.675, allocations: 0.7258 MB / 427.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.6751, allocations: 55.41 kB / 427.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.6754, allocations: 140.9 kB / 427.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.6754, allocations: 28.95 kB / 427.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6756, allocations: 131.2 kB / 427.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.6757, allocations: 65.34 kB / 427.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.6758, allocations: 2.625 kB / 427.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.676, allocations: 325.8 kB / 428.2 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.6762, allocations: 42.31 kB / 428.2 MB, free: 9.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6765, allocations: 70.86 kB / 428.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.6768, allocations: 44.73 kB / 428.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.679e-06/0.6768, allocations: 0 / 428.3 MB, free: 9.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008379/0.6776, allocations: 199.3 kB / 428.5 MB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.6777, allocations: 7.594 kB / 428.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6777, allocations: 7.984 kB / 428.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.6781, allocations: 39.53 kB / 428.6 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.6785, allocations: 35.91 kB / 428.6 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.6811, allocations: 1.419 MB / 430 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.6813, allocations: 7.719 kB / 430.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.6814, allocations: 8 kB / 430.1 MB, free: 7.906 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.0001748/0.6816, allocations: 123.3 kB / 430.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6817, allocations: 11.91 kB / 430.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.6818, allocations: 22.11 kB / 430.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.313e-06/0.6818, allocations: 0 / 430.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6818, allocations: 4 kB / 430.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-06/0.6819, allocations: 0 / 430.2 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.6836, allocations: 0.5779 MB / 430.8 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-06/0.6837, allocations: 0 / 430.8 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.684, allocations: 27.98 kB / 430.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.6843, allocations: 35.45 kB / 430.9 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.6844, allocations: 6.453 kB / 430.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.6872, allocations: 1.364 MB / 432.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6873, allocations: 0 / 432.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6884, allocations: 321.4 kB / 432.5 MB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.6886, allocations: 93.16 kB / 432.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.6887, allocations: 7.312 kB / 432.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.689, allocations: 11.94 kB / 432.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.6891, allocations: 11.48 kB / 432.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.6892, allocations: 4 kB / 432.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.6894, allocations: 117.7 kB / 432.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.331e-06/0.6894, allocations: 0 / 432.8 MB, free: 5.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008241/0.6903, allocations: 50.88 kB / 432.8 MB, free: 5.172 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.0002599/0.6906, allocations: 107.2 kB / 432.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.6915, allocations: 230.9 kB / 433.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6916, allocations: 0 / 433.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.6922, allocations: 171 kB / 433.3 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.6928, allocations: 27.81 kB / 433.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.6938, allocations: 356.2 kB / 433.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.6943, allocations: 0.7323 MB / 434.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.6944, allocations: 17.33 kB / 434.5 MB, free: 3.566 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.6945, allocations: 15.44 kB / 434.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of SimCode: time 3.669e-06/0.6945, allocations: 0 / 434.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of Templates: time 0.006637/0.7011, allocations: 1.654 MB / 436.1 MB, free: 1.914 MB / 346.7 MB