Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.071/1.071, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.661e-05, allocations: 0 / 151.5 MB, free: 15.5 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1867, allocations: 25.16 MB / 176.6 MB, free: 15.88 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06726/0.254, allocations: 35.26 MB / 211.9 MB, free: 14.06 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.2544, allocations: 63.97 kB / 212 MB, free: 14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.2666, allocations: 2.877 MB / 214.8 MB, free: 11.12 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2666, allocations: 4.188 kB / 214.8 MB, free: 11.11 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.2666, allocations: 4 kB / 214.9 MB, free: 11.11 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.0007262/0.2674, allocations: 436.7 kB / 215.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.2674, allocations: 12.03 kB / 215.3 MB, free: 10.63 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.841e-05/0.2675, allocations: 54.5 kB / 215.3 MB, free: 10.57 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.2676, allocations: 19.72 kB / 215.4 MB, free: 10.55 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2679, allocations: 219.5 kB / 215.6 MB, free: 10.29 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.2679, allocations: 12 kB / 215.6 MB, free: 10.28 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.268, allocations: 16 kB / 215.6 MB, free: 10.27 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.2685, allocations: 153.2 kB / 215.8 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2685, allocations: 0 / 215.8 MB, free: 10.11 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2685, allocations: 8 kB / 215.8 MB, free: 10.1 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2685, allocations: 7.953 kB / 215.8 MB, free: 10.09 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.2688, allocations: 87.92 kB / 215.9 MB, free: 10.01 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2701, allocations: 0.5889 MB / 216.4 MB, free: 9.363 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.2704, allocations: 118.5 kB / 216.6 MB, free: 9.238 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2706, allocations: 32.86 kB / 216.6 MB, free: 9.203 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2706, allocations: 4 kB / 216.6 MB, free: 9.199 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2706, allocations: 30.56 kB / 216.6 MB, free: 9.16 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.2706, allocations: 0 / 216.6 MB, free: 9.16 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.001868/0.2725, allocations: 0.7368 MB / 217.4 MB, free: 8.332 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2726, allocations: 55.41 kB / 217.4 MB, free: 8.266 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2728, allocations: 137.4 kB / 217.6 MB, free: 8.125 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.2728, allocations: 29.7 kB / 217.6 MB, free: 8.09 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.273, allocations: 202.6 kB / 217.8 MB, free: 7.891 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.273, allocations: 67 kB / 217.8 MB, free: 7.824 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.2731, allocations: 0 / 217.8 MB, free: 7.824 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2732, allocations: 322.8 kB / 218.2 MB, free: 7.5 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2733, allocations: 36.19 kB / 218.2 MB, free: 7.461 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2735, allocations: 59.81 kB / 218.3 MB, free: 7.391 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2737, allocations: 45.33 kB / 218.3 MB, free: 7.348 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2737, allocations: 0 / 218.3 MB, free: 7.348 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000531/0.2742, allocations: 198.1 kB / 218.5 MB, free: 7.145 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2743, allocations: 4 kB / 218.5 MB, free: 7.141 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2743, allocations: 4 kB / 218.5 MB, free: 7.137 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.2745, allocations: 40.83 kB / 218.5 MB, free: 7.094 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.2749, allocations: 39.92 kB / 218.6 MB, free: 7.055 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.2766, allocations: 1.41 MB / 220 MB, free: 5.512 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2767, allocations: 8.031 kB / 220 MB, free: 5.504 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2768, allocations: 4.109 kB / 220 MB, free: 5.5 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.0001975/0.277, allocations: 134.4 kB / 220.1 MB, free: 5.363 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.277, allocations: 15.81 kB / 220.1 MB, free: 5.348 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.2771, allocations: 16.75 kB / 220.2 MB, free: 5.332 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2771, allocations: 4 kB / 220.2 MB, free: 5.328 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2771, allocations: 4 kB / 220.2 MB, free: 5.324 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2772, allocations: 3.984 kB / 220.2 MB, free: 5.32 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2784, allocations: 0.564 MB / 220.7 MB, free: 4.688 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2784, allocations: 4 kB / 220.7 MB, free: 4.684 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.2787, allocations: 40.03 kB / 220.8 MB, free: 4.645 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.2789, allocations: 32.83 kB / 220.8 MB, free: 4.609 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.279, allocations: 11.94 kB / 220.8 MB, free: 4.598 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.2804, allocations: 1.359 MB / 222.2 MB, free: 3.102 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2805, allocations: 32 / 222.2 MB, free: 3.102 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.2812, allocations: 372.6 kB / 222.5 MB, free: 2.691 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.2812, allocations: 93.12 kB / 222.6 MB, free: 2.582 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.2813, allocations: 8 kB / 222.6 MB, free: 2.574 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2815, allocations: 4 kB / 222.6 MB, free: 2.57 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.2816, allocations: 23.91 kB / 222.7 MB, free: 2.547 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.2816, allocations: 8.062 kB / 222.7 MB, free: 2.539 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.2817, allocations: 120.1 kB / 222.8 MB, free: 2.422 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2818, allocations: 0 / 222.8 MB, free: 2.422 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004638/0.2822, allocations: 44 kB / 222.8 MB, free: 2.379 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.001096/0.2833, allocations: 1.117 MB / 224 MB, free: 1.211 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005999/0.284, allocations: 245.6 kB / 224.2 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.284, allocations: 0 / 224.2 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.2844, allocations: 170.6 kB / 224.4 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2848, allocations: 27.98 kB / 224.4 MB, free: 0.7578 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2861, allocations: 454.7 kB / 224.8 MB, free: 272 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.2865, allocations: 0.7363 MB / 225.6 MB, free: 15.5 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2866, allocations: 47.42 kB / 225.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2866, allocations: 0 / 225.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.086, allocations: 3.605 MB / 229.2 MB, free: 11.85 MB / 202.7 MB