Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.251/2.251, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.625e-05, allocations: 0 / 292.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5194/0.6382, allocations: 78.41 MB / 421 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.6386, allocations: 69.08 kB / 421.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01823/0.6569, allocations: 3.919 MB / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6569, allocations: 0 / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.657, allocations: 4 kB / 425 MB, free: 12.1 MB / 346.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.0009576/0.6579, allocations: 486.5 kB / 425.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.658, allocations: 8.031 kB / 425.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.55e-05/0.6581, allocations: 56.48 kB / 425.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.6582, allocations: 26.53 kB / 425.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.6586, allocations: 223.6 kB / 425.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6586, allocations: 18.5 kB / 425.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.6587, allocations: 22.41 kB / 425.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.6592, allocations: 200.4 kB / 426.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6593, allocations: 0 / 426.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.6593, allocations: 15.05 kB / 426.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.6593, allocations: 8 kB / 426.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.6597, allocations: 126.1 kB / 426.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6617, allocations: 0.8038 MB / 427 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.6624, allocations: 182.1 kB / 427.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6627, allocations: 97.27 kB / 427.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.6628, allocations: 4 kB / 427.3 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6628, allocations: 33.19 kB / 427.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.737e-06/0.6628, allocations: 448 / 427.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002024/0.6649, allocations: 0.7703 MB / 428.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.665, allocations: 81.11 kB / 428.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.6652, allocations: 153.5 kB / 428.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.6653, allocations: 32.52 kB / 428.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6654, allocations: 141.8 kB / 428.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6655, allocations: 96.83 kB / 428.6 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.6656, allocations: 10.94 kB / 428.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.6658, allocations: 337 kB / 428.9 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.666, allocations: 50 kB / 429 MB, free: 8.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.6662, allocations: 98.02 kB / 429.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.6664, allocations: 76.7 kB / 429.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6664, allocations: 0 / 429.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006437/0.6671, allocations: 208.1 kB / 429.3 MB, free: 8.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.6671, allocations: 8 kB / 429.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.6672, allocations: 3.984 kB / 429.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.6672, allocations: 4 kB / 429.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.6677, allocations: 59.91 kB / 429.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.6678, allocations: 7.984 kB / 429.4 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.668, allocations: 18.44 kB / 429.4 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.6681, allocations: 8 kB / 429.5 MB, free: 7.961 MB / 346.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.0001398/0.6682, allocations: 123.6 kB / 429.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.6683, allocations: 19.81 kB / 429.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.6684, allocations: 31.02 kB / 429.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6684, allocations: 0 / 429.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6685, allocations: 4 kB / 429.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6685, allocations: 0 / 429.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.6698, allocations: 0.5742 MB / 430.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6699, allocations: 4 kB / 430.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.6705, allocations: 59.03 kB / 430.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.6705, allocations: 8.094 kB / 430.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.6706, allocations: 7.438 kB / 430.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6706, allocations: 3.953 kB / 430.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.6706, allocations: 4 kB / 430.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/0.6715, allocations: 0.5042 MB / 430.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.6717, allocations: 88.92 kB / 430.9 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.6717, allocations: 7.75 kB / 430.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.6721, allocations: 15.47 kB / 430.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.6722, allocations: 22.61 kB / 430.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.6722, allocations: 11.94 kB / 430.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.6724, allocations: 132.1 kB / 431.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6724, allocations: 0 / 431.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.6729, allocations: 51.31 kB / 431.1 MB, free: 6.391 MB / 346.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.001408/0.6744, allocations: 1.319 MB / 432.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005361/0.6749, allocations: 157.1 kB / 432.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.675, allocations: 0 / 432.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.6752, allocations: 89.06 kB / 432.7 MB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.6758, allocations: 33.8 kB / 432.7 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.6779, allocations: 0.5914 MB / 433.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.6784, allocations: 0.7598 MB / 434.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.6786, allocations: 18.06 kB / 434.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6788, allocations: 67.53 kB / 434.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6788, allocations: 0 / 434.1 MB, free: 3.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.7098, allocations: 3.861 MB / 438 MB, free: 15.69 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004034/0.7103, allocations: 167.1 kB / 438.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.394, allocations: 3.938 kB / 438.2 MB, free: 15.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat does not exist to compare? outputFormat=mat