Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.055e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.411/2.535, allocations: 0.725 GB / 1.018 GB, free: 106.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/2.535, allocations: 71.11 kB / 1.018 GB, free: 106.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1415/2.677, allocations: 39.89 MB / 1.057 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/2.677, allocations: 0 / 1.057 GB, free: 84.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/2.677, allocations: 0 / 1.057 GB, free: 84.67 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001022/2.678, allocations: 0.5092 MB / 1.057 GB, free: 84.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/2.678, allocations: 8.031 kB / 1.057 GB, free: 84.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/2.678, allocations: 49.36 kB / 1.058 GB, free: 84.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/2.683, allocations: 368.9 kB / 1.058 GB, free: 83.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/2.683, allocations: 270.3 kB / 1.058 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/2.683, allocations: 12.31 kB / 1.058 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/2.684, allocations: 27.17 kB / 1.058 GB, free: 83.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/2.685, allocations: 460 kB / 1.059 GB, free: 83.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/2.685, allocations: 0 / 1.059 GB, free: 83.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/2.685, allocations: 14.81 kB / 1.059 GB, free: 83.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/2.685, allocations: 8 kB / 1.059 GB, free: 83.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/2.686, allocations: 491.2 kB / 1.059 GB, free: 82.81 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/2.689, allocations: 0.9927 MB / 1.06 GB, free: 81.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/2.69, allocations: 258 kB / 1.06 GB, free: 81.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/2.69, allocations: 148.6 kB / 1.06 GB, free: 81.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/2.692, allocations: 0.6502 MB / 1.061 GB, free: 80.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/2.692, allocations: 44.62 kB / 1.061 GB, free: 80.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.715e-06/2.692, allocations: 0 / 1.061 GB, free: 80.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008626/2.693, allocations: 268.9 kB / 1.061 GB, free: 80.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/2.693, allocations: 89.06 kB / 1.061 GB, free: 80.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/2.693, allocations: 107.9 kB / 1.062 GB, free: 80.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/2.693, allocations: 29.39 kB / 1.062 GB, free: 80.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/2.693, allocations: 116.2 kB / 1.062 GB, free: 80.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/2.693, allocations: 104.6 kB / 1.062 GB, free: 80.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/2.693, allocations: 11.06 kB / 1.062 GB, free: 80.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/2.693, allocations: 322.5 kB / 1.062 GB, free: 79.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/2.694, allocations: 103.9 kB / 1.062 GB, free: 79.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/2.694, allocations: 186.4 kB / 1.062 GB, free: 79.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/2.694, allocations: 136.4 kB / 1.063 GB, free: 79.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/2.694, allocations: 0 / 1.063 GB, free: 79.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008576/2.695, allocations: 357.6 kB / 1.063 GB, free: 79.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/2.695, allocations: 11.94 kB / 1.063 GB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/2.695, allocations: 4 kB / 1.063 GB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/2.695, allocations: 4 kB / 1.063 GB, free: 79.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/2.696, allocations: 71.89 kB / 1.063 GB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/2.696, allocations: 7.938 kB / 1.063 GB, free: 79.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/2.696, allocations: 44.41 kB / 1.063 GB, free: 79.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/2.696, allocations: 15.12 kB / 1.063 GB, free: 79.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001346/2.697, allocations: 123.8 kB / 1.063 GB, free: 79.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/2.697, allocations: 19.8 kB / 1.063 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/2.698, allocations: 369.9 kB / 1.064 GB, free: 78.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.698, allocations: 8 kB / 1.064 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.698, allocations: 0 / 1.064 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/2.698, allocations: 0 / 1.064 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/2.699, allocations: 368.1 kB / 1.064 GB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/2.699, allocations: 0 / 1.064 GB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/2.699, allocations: 55.91 kB / 1.064 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/2.699, allocations: 0 / 1.064 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/2.699, allocations: 15.23 kB / 1.064 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/2.699, allocations: 4 kB / 1.064 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.699, allocations: 0 / 1.064 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009615/2.7, allocations: 0.5415 MB / 1.064 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/2.7, allocations: 96.84 kB / 1.065 GB, free: 77.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/2.701, allocations: 7.875 kB / 1.065 GB, free: 77.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/2.701, allocations: 19.55 kB / 1.065 GB, free: 77.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/2.701, allocations: 19.31 kB / 1.065 GB, free: 77.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/2.701, allocations: 23.67 kB / 1.065 GB, free: 77.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.993e-05/2.701, allocations: 90.64 kB / 1.065 GB, free: 77.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.701, allocations: 0 / 1.065 GB, free: 77.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001269/2.703, allocations: 259.8 kB / 1.065 GB, free: 77.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.003101/2.706, allocations: 1.819 MB / 1.067 GB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007372/2.707, allocations: 276.6 kB / 1.067 GB, free: 75.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/2.707, allocations: 0 / 1.067 GB, free: 75.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/2.707, allocations: 135.2 kB / 1.067 GB, free: 75.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/2.708, allocations: 82.19 kB / 1.067 GB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/2.71, allocations: 0.7478 MB / 1.068 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/2.71, allocations: 0.7361 MB / 1.069 GB, free: 73.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008145/2.711, allocations: 85.89 kB / 1.069 GB, free: 73.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/2.711, allocations: 56.23 kB / 1.069 GB, free: 73.68 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/2.711, allocations: 4 kB / 1.069 GB, free: 73.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/2.763, allocations: 19.47 MB / 1.088 GB, free: 54.26 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/2.764, allocations: 169.5 kB / 1.088 GB, free: 54.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/6.422, allocations: 4 kB / 1.088 GB, free: 54.01 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat