Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.856e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4513, allocations: 72.06 MB / 366.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4516, allocations: 67.97 kB / 366.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.4677, allocations: 3.65 MB / 370 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4678, allocations: 0 / 370 MB, free: 6.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4678, allocations: 4 kB / 370 MB, free: 6.047 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.0009274/0.4687, allocations: 482.2 kB / 370.5 MB, free: 5.531 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4688, allocations: 12.03 kB / 370.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.4689, allocations: 23.72 kB / 370.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4692, allocations: 227.4 kB / 370.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4693, allocations: 8.438 kB / 370.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.4693, allocations: 19.91 kB / 370.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003833/0.4697, allocations: 112.8 kB / 370.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.4702, allocations: 172.5 kB / 371 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4702, allocations: 3.938 kB / 371 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.4702, allocations: 0 / 371 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.4703, allocations: 8 kB / 371 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4719, allocations: 0.7507 MB / 371.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.4725, allocations: 173.1 kB / 372 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4728, allocations: 89.7 kB / 372 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.4728, allocations: 0 / 372 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4729, allocations: 38.56 kB / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.4729, allocations: 0 / 372.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001638/0.4745, allocations: 0.7181 MB / 372.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4746, allocations: 85.09 kB / 372.9 MB, free: 2.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4748, allocations: 137.5 kB / 373 MB, free: 2.719 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.4748, allocations: 25.7 kB / 373 MB, free: 2.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.475, allocations: 144.4 kB / 373.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.4751, allocations: 94.59 kB / 373.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.4751, allocations: 0 / 373.3 MB, free: 2.449 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4753, allocations: 334.8 kB / 373.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4754, allocations: 48 kB / 373.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.4756, allocations: 92.25 kB / 373.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.4758, allocations: 63.92 kB / 373.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4758, allocations: 0 / 373.8 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005439/0.4764, allocations: 189.4 kB / 374 MB, free: 1.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4764, allocations: 19.69 kB / 374 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4764, allocations: 0 / 374 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4765, allocations: 4 kB / 374 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.477, allocations: 63.91 kB / 374.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.477, allocations: 4 kB / 374.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4772, allocations: 11.84 kB / 374.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.4773, allocations: 8.094 kB / 374.1 MB, free: 1.602 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.0001199/0.4774, allocations: 120.7 kB / 374.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004519/0.4779, allocations: 161.4 kB / 374.4 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.478, allocations: 27.67 kB / 374.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.544e-05/0.4781, allocations: 21.95 kB / 374.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4781, allocations: 4 kB / 374.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4781, allocations: 0 / 374.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4781, allocations: 7.938 kB / 374.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4792, allocations: 0.5233 MB / 375 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4792, allocations: 4 kB / 375 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.4798, allocations: 59.91 kB / 375 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.4798, allocations: 4 kB / 375 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4798, allocations: 8.078 kB / 375 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4799, allocations: 4 kB / 375 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4799, allocations: 0 / 375 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.4807, allocations: 491.9 kB / 375.5 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4808, allocations: 112.8 kB / 375.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.4809, allocations: 0 / 375.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.4811, allocations: 4 kB / 375.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.4812, allocations: 20.06 kB / 375.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.4813, allocations: 12 kB / 375.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4814, allocations: 111.3 kB / 375.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4814, allocations: 0 / 375.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005398/0.482, allocations: 40 kB / 375.8 MB, free: 15.76 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.001162/0.4831, allocations: 1.301 MB / 377.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.4836, allocations: 142.7 kB / 377.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4836, allocations: 4.188 kB / 377.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.4838, allocations: 79.86 kB / 377.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.4844, allocations: 29.06 kB / 377.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.4864, allocations: 0.5767 MB / 377.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4869, allocations: 0.7479 MB / 378.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.4871, allocations: 26.06 kB / 378.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4873, allocations: 71.36 kB / 378.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4873, allocations: 0 / 378.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.5352, allocations: 3.399 MB / 382.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003235/0.5356, allocations: 136.3 kB / 382.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.19, allocations: 4.031 kB / 382.3 MB, free: 9.098 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat