Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.439e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.4641, allocations: 67.43 MB / 331.3 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4644, allocations: 75.95 kB / 331.4 MB, free: 6.102 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.4813, allocations: 3.709 MB / 335.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.4813, allocations: 0 / 335.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.4814, allocations: 7.938 kB / 335.1 MB, free: 2.371 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.0009677/0.4823, allocations: 494.2 kB / 335.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4824, allocations: 8.031 kB / 335.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.806e-05/0.4825, allocations: 54.55 kB / 335.6 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.4826, allocations: 23.72 kB / 335.7 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.483, allocations: 226.7 kB / 335.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.483, allocations: 20.39 kB / 335.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.4831, allocations: 20 kB / 335.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.4836, allocations: 200.5 kB / 336.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.4837, allocations: 11.89 kB / 336.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.4837, allocations: 4 kB / 336.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4837, allocations: 8 kB / 336.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.4841, allocations: 120.4 kB / 336.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.486, allocations: 0.8036 MB / 337.1 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.4866, allocations: 181 kB / 337.2 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.487, allocations: 97.7 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.487, allocations: 4 kB / 337.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4871, allocations: 34.56 kB / 337.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.276e-06/0.4871, allocations: 3.938 kB / 337.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.002019/0.4891, allocations: 0.7722 MB / 338.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.4892, allocations: 77.11 kB / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4895, allocations: 161.9 kB / 338.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.4895, allocations: 33.7 kB / 338.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.4897, allocations: 140.4 kB / 338.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4898, allocations: 90.66 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.4898, allocations: 7.938 kB / 338.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.49, allocations: 330.8 kB / 339 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4902, allocations: 52 kB / 339 MB, free: 14.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4904, allocations: 96.7 kB / 339.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.4906, allocations: 69.69 kB / 339.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4906, allocations: 0 / 339.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006139/0.4913, allocations: 225.2 kB / 339.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4913, allocations: 8.719 kB / 339.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4913, allocations: 0 / 339.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.4914, allocations: 4 kB / 339.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.4919, allocations: 67.86 kB / 339.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.492, allocations: 11.92 kB / 339.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.4922, allocations: 12.09 kB / 339.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.4922, allocations: 8 kB / 339.5 MB, free: 13.59 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.0001312/0.4924, allocations: 113 kB / 339.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4925, allocations: 23.75 kB / 339.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.4926, allocations: 29.64 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4926, allocations: 4 kB / 339.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.4927, allocations: 7.953 kB / 339.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4927, allocations: 3.984 kB / 339.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.494, allocations: 0.5789 MB / 340.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4941, allocations: 3.953 kB / 340.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.4947, allocations: 59.97 kB / 340.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4947, allocations: 0 / 340.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.4947, allocations: 12.09 kB / 340.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.4947, allocations: 4 kB / 340.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4948, allocations: 3.938 kB / 340.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.4958, allocations: 0.4959 MB / 340.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.496, allocations: 104.9 kB / 340.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.496, allocations: 8 kB / 341 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.4964, allocations: 15.94 kB / 341 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.4965, allocations: 27.86 kB / 341 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4965, allocations: 8 kB / 341 MB, free: 11.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.4967, allocations: 132.3 kB / 341.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4967, allocations: 0 / 341.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005357/0.4973, allocations: 56 kB / 341.2 MB, free: 11.76 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.001481/0.4988, allocations: 1.319 MB / 342.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.4993, allocations: 155.8 kB / 342.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4993, allocations: 4.188 kB / 342.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.4996, allocations: 83.92 kB / 342.7 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.0005967/0.5003, allocations: 24.17 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.002035/0.5023, allocations: 0.6137 MB / 343.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.5028, allocations: 0.7482 MB / 344.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000192/0.503, allocations: 26.06 kB / 344.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.5031, allocations: 67.41 kB / 344.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5032, allocations: 0 / 344.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0834/0.5866, allocations: 3.856 MB / 348.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.5869, allocations: 168.7 kB / 348.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.078, allocations: 0 / 348.2 MB, free: 4.562 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat