Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1/1, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.74e-05, allocations: 7.984 kB / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05489/0.197, allocations: 35.27 MB / 211.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.1973, allocations: 59.97 kB / 211.9 MB, free: 14.14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.2088, allocations: 2.886 MB / 214.8 MB, free: 11.25 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.681e-06/0.2089, allocations: 0 / 214.8 MB, free: 11.25 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.2089, allocations: 4 kB / 214.8 MB, free: 11.25 MB / 186.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.0006518/0.2096, allocations: 426.2 kB / 215.2 MB, free: 10.79 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2096, allocations: 16.03 kB / 215.2 MB, free: 10.77 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.2097, allocations: 23.67 kB / 215.2 MB, free: 10.75 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.21, allocations: 214.8 kB / 215.4 MB, free: 10.5 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2101, allocations: 12 kB / 215.4 MB, free: 10.48 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.2102, allocations: 12 kB / 215.4 MB, free: 10.47 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.2106, allocations: 145.2 kB / 215.6 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2106, allocations: 4 kB / 215.6 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2106, allocations: 4 kB / 215.6 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2106, allocations: 7.953 kB / 215.6 MB, free: 10.31 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.2109, allocations: 91.98 kB / 215.7 MB, free: 10.22 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2122, allocations: 0.6045 MB / 216.3 MB, free: 9.559 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2125, allocations: 110.6 kB / 216.4 MB, free: 9.441 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.2126, allocations: 40.81 kB / 216.4 MB, free: 9.398 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2126, allocations: 0 / 216.4 MB, free: 9.398 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2126, allocations: 34.56 kB / 216.5 MB, free: 9.355 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 2.232e-06/0.2127, allocations: 0 / 216.5 MB, free: 9.355 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.001734/0.2144, allocations: 0.7265 MB / 217.2 MB, free: 8.535 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2145, allocations: 59.39 kB / 217.3 MB, free: 8.465 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.2147, allocations: 137.4 kB / 217.4 MB, free: 8.324 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2147, allocations: 29.7 kB / 217.4 MB, free: 8.289 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.2149, allocations: 194.7 kB / 217.6 MB, free: 8.098 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.2149, allocations: 63.02 kB / 217.7 MB, free: 8.035 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-06/0.215, allocations: 0 / 217.7 MB, free: 8.035 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2151, allocations: 322.8 kB / 218 MB, free: 7.711 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2153, allocations: 36.12 kB / 218 MB, free: 7.672 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2154, allocations: 72.55 kB / 218.1 MB, free: 7.59 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2156, allocations: 45.39 kB / 218.1 MB, free: 7.547 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.224e-06/0.2156, allocations: 0 / 218.1 MB, free: 7.547 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005094/0.2161, allocations: 186.5 kB / 218.3 MB, free: 7.355 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2161, allocations: 7.938 kB / 218.3 MB, free: 7.348 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.924e-06/0.2162, allocations: 3.938 kB / 218.3 MB, free: 7.344 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.2164, allocations: 36.84 kB / 218.4 MB, free: 7.305 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2167, allocations: 40.05 kB / 218.4 MB, free: 7.266 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.2184, allocations: 1.421 MB / 219.8 MB, free: 5.711 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2186, allocations: 12.11 kB / 219.8 MB, free: 5.699 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2187, allocations: 7.984 kB / 219.9 MB, free: 5.691 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" ) "absolute velocity of component" type: Real 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.0001937/0.2189, allocations: 122.2 kB / 220 MB, free: 5.57 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.2189, allocations: 15.81 kB / 220 MB, free: 5.555 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.219, allocations: 16.73 kB / 220 MB, free: 5.539 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.219, allocations: 12 kB / 220 MB, free: 5.527 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.302e-06/0.2191, allocations: 3.938 kB / 220 MB, free: 5.523 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2191, allocations: 0 / 220 MB, free: 5.523 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.2203, allocations: 0.5732 MB / 220.6 MB, free: 4.883 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-06/0.2203, allocations: 0 / 220.6 MB, free: 4.883 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.2206, allocations: 39.97 kB / 220.6 MB, free: 4.844 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.2208, allocations: 32.8 kB / 220.7 MB, free: 4.809 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2208, allocations: 8 kB / 220.7 MB, free: 4.801 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.2224, allocations: 1.363 MB / 222 MB, free: 3.301 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.838e-06/0.2224, allocations: 3.984 kB / 222 MB, free: 3.297 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.2231, allocations: 375.8 kB / 222.4 MB, free: 2.883 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.2232, allocations: 85.16 kB / 222.5 MB, free: 2.781 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2232, allocations: 7.953 kB / 222.5 MB, free: 2.773 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2234, allocations: 11.97 kB / 222.5 MB, free: 2.762 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2235, allocations: 20.05 kB / 222.5 MB, free: 2.742 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.2235, allocations: 4 kB / 222.5 MB, free: 2.738 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.2237, allocations: 120.1 kB / 222.6 MB, free: 2.621 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.2237, allocations: 0 / 222.6 MB, free: 2.621 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004487/0.2241, allocations: 48 kB / 222.7 MB, free: 2.574 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.v) * 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.0001672/0.2243, allocations: 103.2 kB / 222.8 MB, free: 2.461 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.2249, allocations: 242.4 kB / 223 MB, free: 2.215 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.194e-06/0.2249, allocations: 0 / 223 MB, free: 2.215 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.2253, allocations: 177.7 kB / 223.2 MB, free: 2.031 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2256, allocations: 19.98 kB / 223.2 MB, free: 2.012 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.2266, allocations: 409.2 kB / 223.6 MB, free: 1.578 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.2271, allocations: 0.7402 MB / 224.4 MB, free: 0.8125 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.2272, allocations: 15.44 kB / 224.4 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of SimCode: time 1.609e-06/0.2272, allocations: 0 / 224.4 MB, free: 0.7969 MB / 186.7 MB Notification: Performance of Templates: time 0.006012/0.2332, allocations: 2.735 MB / 227.1 MB, free: 14.06 MB / 202.7 MB