Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.35e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.4066, allocations: 67.42 MB / 331.2 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4069, allocations: 67.97 kB / 331.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.4237, allocations: 3.696 MB / 335 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.4237, allocations: 4 kB / 335 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.4238, allocations: 8 kB / 335 MB, free: 2.445 MB / 282.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.0009231/0.4247, allocations: 490.1 kB / 335.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4248, allocations: 12.03 kB / 335.5 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.285e-05/0.4249, allocations: 54.53 kB / 335.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.425, allocations: 31.72 kB / 335.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4253, allocations: 218.7 kB / 335.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4253, allocations: 24.39 kB / 335.8 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.4254, allocations: 20 kB / 335.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.426, allocations: 205.3 kB / 336.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.426, allocations: 3.906 kB / 336.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.426, allocations: 8 kB / 336.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4261, allocations: 8 kB / 336.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.4265, allocations: 128.5 kB / 336.2 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.4283, allocations: 0.7997 MB / 337 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.4289, allocations: 193 kB / 337.2 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.4293, allocations: 89.7 kB / 337.3 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.4293, allocations: 7.938 kB / 337.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4294, allocations: 34.56 kB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.287e-06/0.4294, allocations: 4 kB / 337.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001909/0.4313, allocations: 0.7764 MB / 338.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.4314, allocations: 77.11 kB / 338.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.4316, allocations: 157.9 kB / 338.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4317, allocations: 33.7 kB / 338.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4318, allocations: 206.8 kB / 338.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.4319, allocations: 94.8 kB / 338.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.432, allocations: 4 kB / 338.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4321, allocations: 322.8 kB / 339 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4323, allocations: 52 kB / 339 MB, free: 14.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.4325, allocations: 96.27 kB / 339.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.4328, allocations: 73.89 kB / 339.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4328, allocations: 0 / 339.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005455/0.4333, allocations: 206.2 kB / 339.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4334, allocations: 4.781 kB / 339.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4334, allocations: 4.016 kB / 339.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4334, allocations: 4 kB / 339.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.4339, allocations: 71.95 kB / 339.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/0.434, allocations: 15.91 kB / 339.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.4342, allocations: 15.91 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.4342, allocations: 4 kB / 339.5 MB, free: 13.6 MB / 298.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 0.000135/0.4344, allocations: 113 kB / 339.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.4345, allocations: 19.81 kB / 339.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.4346, allocations: 33.58 kB / 339.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4346, allocations: 4 kB / 339.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4346, allocations: 7.953 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.4346, allocations: 0 / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4359, allocations: 0.5825 MB / 340.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4359, allocations: 3.953 kB / 340.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.4365, allocations: 68 kB / 340.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4365, allocations: 4 kB / 340.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4365, allocations: 4 kB / 340.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.4365, allocations: 4 kB / 340.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4366, allocations: 3.938 kB / 340.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.4374, allocations: 0.4959 MB / 340.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4376, allocations: 112.9 kB / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.4376, allocations: 4 kB / 341 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.4379, allocations: 16 kB / 341 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.438, allocations: 24.02 kB / 341 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4381, allocations: 11.98 kB / 341 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.4383, allocations: 132.3 kB / 341.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4383, allocations: 0 / 341.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005116/0.4388, allocations: 52 kB / 341.2 MB, free: 11.77 MB / 298.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.001341/0.4401, allocations: 1.324 MB / 342.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005009/0.4407, allocations: 155.3 kB / 342.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4407, allocations: 0 / 342.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.4409, allocations: 87.86 kB / 342.8 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.4415, allocations: 32.06 kB / 342.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4434, allocations: 0.6424 MB / 343.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.4439, allocations: 0.7521 MB / 344.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.4441, allocations: 67.42 kB / 344.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4441, allocations: 0 / 344.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.524/2.968, allocations: 3.527 MB / 347.8 MB, free: 5.047 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat