Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.116/1.116, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.225e-05, allocations: 3.984 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 25.15 MB / 176.6 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06135/0.2382, allocations: 34.59 MB / 211.2 MB, free: 14.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.2385, allocations: 59.97 kB / 211.3 MB, free: 14.81 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.2538, allocations: 3.589 MB / 214.9 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2539, allocations: 0 / 214.9 MB, free: 11.21 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.2539, allocations: 8 kB / 214.9 MB, free: 11.2 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008683/0.2548, allocations: 482.2 kB / 215.4 MB, free: 10.68 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2548, allocations: 8.031 kB / 215.4 MB, free: 10.68 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.163e-05/0.2549, allocations: 58.48 kB / 215.4 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.255, allocations: 27.72 kB / 215.4 MB, free: 10.58 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.2553, allocations: 223.7 kB / 215.7 MB, free: 10.32 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2554, allocations: 16.44 kB / 215.7 MB, free: 10.31 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.2554, allocations: 23.98 kB / 215.7 MB, free: 10.29 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.2559, allocations: 189 kB / 215.9 MB, free: 10.09 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.256, allocations: 7.906 kB / 215.9 MB, free: 10.08 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.256, allocations: 11.95 kB / 215.9 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2561, allocations: 4 kB / 215.9 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.2564, allocations: 120.8 kB / 216 MB, free: 9.949 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2581, allocations: 0.7892 MB / 216.8 MB, free: 9.094 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.2586, allocations: 177.1 kB / 217 MB, free: 8.902 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.2589, allocations: 97.69 kB / 217.1 MB, free: 8.801 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.259, allocations: 0 / 217.1 MB, free: 8.801 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.259, allocations: 38.56 kB / 217.1 MB, free: 8.754 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.259, allocations: 0 / 217.1 MB, free: 8.754 MB / 186.7 MB Notification: Performance of matching and sorting (n=25): time 0.001782/0.2608, allocations: 0.7551 MB / 217.9 MB, free: 7.906 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2609, allocations: 77.11 kB / 218 MB, free: 7.812 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2611, allocations: 163.7 kB / 218.1 MB, free: 7.645 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2612, allocations: 25.7 kB / 218.1 MB, free: 7.613 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2613, allocations: 203.1 kB / 218.3 MB, free: 7.414 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2614, allocations: 94.66 kB / 218.4 MB, free: 7.32 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.2615, allocations: 4 kB / 218.4 MB, free: 7.316 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2616, allocations: 326.8 kB / 218.8 MB, free: 6.988 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2618, allocations: 44 kB / 218.8 MB, free: 6.945 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.262, allocations: 96.27 kB / 218.9 MB, free: 6.836 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2622, allocations: 74.83 kB / 219 MB, free: 6.766 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2622, allocations: 4.219 kB / 219 MB, free: 6.762 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005317/0.2628, allocations: 197.4 kB / 219.2 MB, free: 6.562 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2628, allocations: 7.938 kB / 219.2 MB, free: 6.555 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.2628, allocations: 8 kB / 219.2 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2628, allocations: 0 / 219.2 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.2633, allocations: 59.91 kB / 219.2 MB, free: 6.488 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2634, allocations: 8.094 kB / 219.2 MB, free: 6.48 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2636, allocations: 23.83 kB / 219.3 MB, free: 6.457 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2636, allocations: 8 kB / 219.3 MB, free: 6.449 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.2637, allocations: 120.9 kB / 219.4 MB, free: 6.324 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.2638, allocations: 19.81 kB / 219.4 MB, free: 6.305 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.2639, allocations: 29.64 kB / 219.4 MB, free: 6.273 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.2639, allocations: 4 kB / 219.4 MB, free: 6.27 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.264, allocations: 3.938 kB / 219.5 MB, free: 6.266 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.264, allocations: 4 kB / 219.5 MB, free: 6.262 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2651, allocations: 0.5553 MB / 220 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2652, allocations: 4 kB / 220 MB, free: 5.637 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.2657, allocations: 64 kB / 220.1 MB, free: 5.574 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.2657, allocations: 4 kB / 220.1 MB, free: 5.57 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2658, allocations: 4 kB / 220.1 MB, free: 5.566 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.2658, allocations: 7.984 kB / 220.1 MB, free: 5.559 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2658, allocations: 0 / 220.1 MB, free: 5.559 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.2666, allocations: 499.9 kB / 220.6 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.2668, allocations: 112.9 kB / 220.7 MB, free: 4.891 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.2668, allocations: 8 kB / 220.7 MB, free: 4.883 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.2671, allocations: 12 kB / 220.7 MB, free: 4.871 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.2672, allocations: 15.97 kB / 220.7 MB, free: 4.855 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2672, allocations: 8 kB / 220.7 MB, free: 4.848 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.2674, allocations: 135.3 kB / 220.9 MB, free: 4.715 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2674, allocations: 0 / 220.9 MB, free: 4.715 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.2679, allocations: 48 kB / 220.9 MB, free: 4.668 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.2691, allocations: 1.32 MB / 222.2 MB, free: 3.297 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.2696, allocations: 136.4 kB / 222.4 MB, free: 3.164 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2696, allocations: 0 / 222.4 MB, free: 3.164 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2699, allocations: 83.86 kB / 222.4 MB, free: 3.082 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.2704, allocations: 29.52 kB / 222.5 MB, free: 3.055 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.2723, allocations: 0.6357 MB / 223.1 MB, free: 2.363 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2727, allocations: 0.7521 MB / 223.9 MB, free: 1.586 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2729, allocations: 71.41 kB / 223.9 MB, free: 1.516 MB / 186.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2729, allocations: 0 / 223.9 MB, free: 1.516 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.511/2.784, allocations: 3.44 MB / 227.4 MB, free: 14.08 MB / 202.7 MB