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 1.987/1.987, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.341e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3568, allocations: 44.5 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4852, allocations: 72.06 MB / 366.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4855, allocations: 67.95 kB / 366.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.5013, allocations: 3.638 MB / 370 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5014, allocations: 0 / 370 MB, free: 6.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.5014, allocations: 8 kB / 370 MB, free: 6.176 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.0008997/0.5023, allocations: 478.2 kB / 370.4 MB, free: 5.664 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5024, allocations: 12.03 kB / 370.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.5025, allocations: 23.72 kB / 370.5 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.5028, allocations: 227.4 kB / 370.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.5029, allocations: 8.438 kB / 370.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.5029, allocations: 15.91 kB / 370.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003733/0.5033, allocations: 112.8 kB / 370.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.5038, allocations: 176.5 kB / 371 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5038, allocations: 7.922 kB / 371 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5038, allocations: 0 / 371 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5039, allocations: 4 kB / 371 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.5055, allocations: 0.7507 MB / 371.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.5061, allocations: 173 kB / 371.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.5063, allocations: 85.7 kB / 372 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.5064, allocations: 8 kB / 372 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.5064, allocations: 34.56 kB / 372.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.385e-06/0.5064, allocations: 0 / 372.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001604/0.508, allocations: 0.7146 MB / 372.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5081, allocations: 85.11 kB / 372.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5083, allocations: 141.5 kB / 373 MB, free: 2.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5083, allocations: 25.7 kB / 373 MB, free: 2.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5085, allocations: 202.8 kB / 373.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.5086, allocations: 94.59 kB / 373.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5086, allocations: 0 / 373.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5087, allocations: 318.8 kB / 373.6 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5089, allocations: 48 kB / 373.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5091, allocations: 104.2 kB / 373.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.5093, allocations: 55.98 kB / 373.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5093, allocations: 7.938 kB / 373.8 MB, free: 1.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004843/0.5098, allocations: 185.5 kB / 374 MB, free: 1.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5098, allocations: 8.047 kB / 374 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5099, allocations: 11.98 kB / 374 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5099, allocations: 0 / 374 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004928/0.5104, allocations: 67.91 kB / 374.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5104, allocations: 0 / 374.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5106, allocations: 8 kB / 374.1 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5107, allocations: 12 kB / 374.1 MB, free: 1.688 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 0.0001051/0.5108, allocations: 112.7 kB / 374.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004442/0.5112, allocations: 173.1 kB / 374.4 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.5113, allocations: 23.67 kB / 374.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.5114, allocations: 25.95 kB / 374.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5114, allocations: 4 kB / 374.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5114, allocations: 0 / 374.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5115, allocations: 3.938 kB / 374.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5126, allocations: 0.5275 MB / 375 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5126, allocations: 0 / 375 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.5131, allocations: 59.91 kB / 375 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.5132, allocations: 4 kB / 375 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5132, allocations: 0 / 375 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.5132, allocations: 7.984 kB / 375.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5132, allocations: 96 / 375.1 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.514, allocations: 0.4926 MB / 375.5 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.5141, allocations: 100.8 kB / 375.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.5142, allocations: 4 kB / 375.6 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.5144, allocations: 4 kB / 375.7 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5145, allocations: 19.97 kB / 375.7 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.5146, allocations: 8 kB / 375.7 MB, free: 0 / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.5147, allocations: 111.3 kB / 375.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5147, allocations: 4 kB / 375.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005126/0.5153, allocations: 40 kB / 375.8 MB, free: 15.84 MB / 330.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.001213/0.5165, allocations: 1.294 MB / 377.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.5169, allocations: 142.7 kB / 377.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.517, allocations: 0 / 377.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.5172, allocations: 80.17 kB / 377.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.5177, allocations: 36.11 kB / 377.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5196, allocations: 0.6093 MB / 378 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.52, allocations: 0.7557 MB / 378.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.5202, allocations: 67.41 kB / 378.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5202, allocations: 0 / 378.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.469/2.989, allocations: 3.438 MB / 382.2 MB, free: 9.309 MB / 330.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