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.122/1.122, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.388e-05, allocations: 4 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05801/0.05806, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003365/0.06148, allocations: 1.514 MB / 181.2 MB, free: 8.102 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.06268, allocations: 411.8 kB / 181.6 MB, free: 7.695 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.06285, allocations: 11.94 kB / 181.6 MB, free: 7.684 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.06295, allocations: 23.84 kB / 181.6 MB, free: 7.66 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.0632, allocations: 55.8 kB / 181.7 MB, free: 7.605 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.06343, allocations: 31.97 kB / 181.7 MB, free: 7.574 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.06378, allocations: 115.7 kB / 181.8 MB, free: 7.461 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.06399, allocations: 36.5 kB / 181.9 MB, free: 7.426 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.06412, allocations: 47.92 kB / 181.9 MB, free: 7.379 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.06434, allocations: 63.75 kB / 182 MB, free: 7.316 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.06441, allocations: 8 kB / 182 MB, free: 7.309 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.06447, allocations: 8 kB / 182 MB, free: 7.301 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.06453, allocations: 23.86 kB / 182 MB, free: 7.277 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.06461, allocations: 16 kB / 182 MB, free: 7.262 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.065, allocations: 155.8 kB / 182.2 MB, free: 7.109 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.06502, allocations: 0 / 182.2 MB, free: 7.109 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.06504, allocations: 0 / 182.2 MB, free: 7.109 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.06506, allocations: 0 / 182.2 MB, free: 7.109 MB / 154.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.001085/0.06616, allocations: 431 kB / 182.6 MB, free: 6.641 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.06623, allocations: 16.02 kB / 182.6 MB, free: 6.625 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.06633, allocations: 19.72 kB / 182.6 MB, free: 6.605 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.06676, allocations: 214.8 kB / 182.9 MB, free: 6.355 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.06681, allocations: 16 kB / 182.9 MB, free: 6.34 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.0669, allocations: 19.95 kB / 182.9 MB, free: 6.32 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.06756, allocations: 153.2 kB / 183 MB, free: 6.164 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.06761, allocations: 4 kB / 183 MB, free: 6.16 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.06766, allocations: 7.984 kB / 183.1 MB, free: 6.152 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.06768, allocations: 7.938 kB / 183.1 MB, free: 6.145 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.06824, allocations: 107.9 kB / 183.2 MB, free: 6.039 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.07002, allocations: 0.6005 MB / 183.8 MB, free: 5.379 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.07054, allocations: 114.6 kB / 183.9 MB, free: 5.258 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.07059, allocations: 4 kB / 183.9 MB, free: 5.254 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.07064, allocations: 30.56 kB / 183.9 MB, free: 5.215 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.946e-06/0.07066, allocations: 4 kB / 183.9 MB, free: 5.211 MB / 154.7 MB Notification: Performance of matching and sorting (n=18): time 0.002983/0.07365, allocations: 0.8052 MB / 184.7 MB, free: 4.312 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.07374, allocations: 55.41 kB / 184.8 MB, free: 4.246 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.07401, allocations: 141.4 kB / 184.9 MB, free: 4.102 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.07406, allocations: 29.7 kB / 184.9 MB, free: 4.066 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.07423, allocations: 198.7 kB / 185.1 MB, free: 3.871 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/0.07433, allocations: 63.02 kB / 185.2 MB, free: 3.809 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.07436, allocations: 4 kB / 185.2 MB, free: 3.805 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.07454, allocations: 318.8 kB / 185.5 MB, free: 3.484 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.07479, allocations: 44.17 kB / 185.6 MB, free: 3.441 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.07508, allocations: 71.78 kB / 185.6 MB, free: 3.359 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.07538, allocations: 55.92 kB / 185.7 MB, free: 3.305 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.0754, allocations: 0 / 185.7 MB, free: 3.305 MB / 154.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008747/0.07628, allocations: 198.2 kB / 185.9 MB, free: 3.102 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.07634, allocations: 12.06 kB / 185.9 MB, free: 3.09 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.07636, allocations: 3.938 kB / 185.9 MB, free: 3.086 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.07673, allocations: 40.83 kB / 185.9 MB, free: 3.043 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.07718, allocations: 35.98 kB / 186 MB, free: 3.008 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.07957, allocations: 1.437 MB / 187.4 MB, free: 1.441 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.07985, allocations: 12.02 kB / 187.4 MB, free: 1.43 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.0799, allocations: 8 kB / 187.4 MB, free: 1.422 MB / 154.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "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" fixed = true ) "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.0003421/0.08026, allocations: 146 kB / 187.6 MB, free: 1.27 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.08036, allocations: 11.81 kB / 187.6 MB, free: 1.258 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.08045, allocations: 21.17 kB / 187.6 MB, free: 1.234 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.08048, allocations: 4 kB / 187.6 MB, free: 1.23 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.0805, allocations: 0 / 187.6 MB, free: 1.23 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.08052, allocations: 3.953 kB / 187.6 MB, free: 1.227 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.08239, allocations: 0.5876 MB / 188.2 MB, free: 0.5703 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.08242, allocations: 4 kB / 188.2 MB, free: 0.5664 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.08289, allocations: 39.91 kB / 188.2 MB, free: 0.5273 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.08317, allocations: 36.94 kB / 188.3 MB, free: 500 kB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.08322, allocations: 4 kB / 188.3 MB, free: 496 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.08548, allocations: 1.386 MB / 189.7 MB, free: 14.96 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.08554, allocations: 0 / 189.7 MB, free: 14.96 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.08675, allocations: 391.8 kB / 190 MB, free: 14.54 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.08688, allocations: 92.92 kB / 190.1 MB, free: 14.43 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.08694, allocations: 0 / 190.1 MB, free: 14.43 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.08723, allocations: 15.92 kB / 190.1 MB, free: 14.41 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.08734, allocations: 23.92 kB / 190.2 MB, free: 14.39 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.08738, allocations: 12 kB / 190.2 MB, free: 14.38 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.08758, allocations: 128 kB / 190.3 MB, free: 14.25 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.0876, allocations: 0 / 190.3 MB, free: 14.25 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0007295/0.08834, allocations: 40 kB / 190.3 MB, free: 14.21 MB / 170.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.0001964/0.08855, allocations: 99.25 kB / 190.4 MB, free: 14.11 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0009766/0.08954, allocations: 265.1 kB / 190.7 MB, free: 13.84 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.08957, allocations: 0 / 190.7 MB, free: 13.84 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.09014, allocations: 194.5 kB / 190.9 MB, free: 13.63 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.09068, allocations: 24.25 kB / 190.9 MB, free: 13.61 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.09253, allocations: 0.6361 MB / 191.6 MB, free: 12.93 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.09307, allocations: 0.7401 MB / 192.3 MB, free: 12.16 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.0932, allocations: 15.44 kB / 192.3 MB, free: 12.15 MB / 170.7 MB Notification: Performance of SimCode: time 1.012e-06/0.09321, allocations: 0 / 192.3 MB, free: 12.15 MB / 170.7 MB Notification: Performance of Templates: time 0.009037/0.1023, allocations: 2.752 MB / 195.1 MB, free: 9.391 MB / 170.7 MB