Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.023e-05, allocations: 0 / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09496, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.4848, allocations: 72.72 MB / 372.7 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4851, allocations: 66.53 kB / 372.7 MB, free: 22.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.5008, allocations: 3.69 MB / 376.4 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5009, allocations: 1.125 kB / 376.4 MB, free: 21.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.5009, allocations: 4.562 kB / 376.4 MB, free: 21.65 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008285/0.5017, allocations: 485 kB / 376.9 MB, free: 21.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5018, allocations: 10.12 kB / 376.9 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.5019, allocations: 51.12 kB / 377 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.502, allocations: 32.03 kB / 377 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.5022, allocations: 217 kB / 377.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.5023, allocations: 19.19 kB / 377.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.5023, allocations: 24.75 kB / 377.3 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.5028, allocations: 200.3 kB / 377.5 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5029, allocations: 1.188 kB / 377.5 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.5029, allocations: 12.45 kB / 377.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5029, allocations: 5 kB / 377.5 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.5033, allocations: 119.2 kB / 377.6 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.5049, allocations: 0.8077 MB / 378.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.5054, allocations: 180.7 kB / 378.6 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.5057, allocations: 92.84 kB / 378.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.5058, allocations: 7.344 kB / 378.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.5058, allocations: 46.25 kB / 378.7 MB, free: 20.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.237e-06/0.5058, allocations: 0 / 378.7 MB, free: 20.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001696/0.5075, allocations: 0.7549 MB / 379.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5076, allocations: 91.92 kB / 379.6 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.5078, allocations: 155.4 kB / 379.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5078, allocations: 30.33 kB / 379.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.5079, allocations: 204.8 kB / 379.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.508, allocations: 87.36 kB / 380 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.5081, allocations: 4.594 kB / 380 MB, free: 19.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.5081, allocations: 325.3 kB / 380.3 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.5083, allocations: 50.47 kB / 380.4 MB, free: 19.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.5085, allocations: 99.28 kB / 380.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.5087, allocations: 73.61 kB / 380.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5087, allocations: 0 / 380.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004923/0.5092, allocations: 209 kB / 380.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5093, allocations: 9.188 kB / 380.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.5093, allocations: 3.375 kB / 380.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5093, allocations: 6.391 kB / 380.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.5098, allocations: 64.8 kB / 380.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.5099, allocations: 6.859 kB / 380.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5101, allocations: 15.64 kB / 380.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.5101, allocations: 6.469 kB / 380.9 MB, free: 18.95 MB / 314.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 (32): * Single equations (assignments): 32 * 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 8.492e-05/0.5102, allocations: 124 kB / 381 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.5103, allocations: 27.7 kB / 381 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.5104, allocations: 25.08 kB / 381.1 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.5104, allocations: 3.875 kB / 381.1 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.5104, allocations: 3.938 kB / 381.1 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5104, allocations: 3.797 kB / 381.1 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.5116, allocations: 0.5693 MB / 381.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5116, allocations: 1.125 kB / 381.6 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.5121, allocations: 55.14 kB / 381.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.5122, allocations: 6.812 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.5122, allocations: 7.438 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.5122, allocations: 5.125 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5122, allocations: 3.234 kB / 381.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.513, allocations: 0.4985 MB / 382.2 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.513, allocations: 108 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.5131, allocations: 7.953 kB / 382.3 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.5134, allocations: 11.48 kB / 382.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.5135, allocations: 21.8 kB / 382.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.5135, allocations: 10.59 kB / 382.4 MB, free: 18.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.5136, allocations: 130.6 kB / 382.5 MB, free: 17.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5137, allocations: 4 kB / 382.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005161/0.5142, allocations: 50.34 kB / 382.5 MB, free: 17.94 MB / 314.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 (26): * Single equations (assignments): 26 * 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.0009545/0.5151, allocations: 1.312 MB / 383.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.5156, allocations: 155.1 kB / 384 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5156, allocations: 0 / 384 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.5159, allocations: 85.84 kB / 384.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.5164, allocations: 33.11 kB / 384.1 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.5181, allocations: 0.6246 MB / 384.8 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5184, allocations: 0.7549 MB / 385.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5186, allocations: 67.53 kB / 385.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5186, allocations: 0 / 385.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/3.078, allocations: 3.522 MB / 389.1 MB, free: 15.39 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat