Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.505e-05, allocations: 8 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.504/2.645, allocations: 0.7292 GB / 1.039 GB, free: 103.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/2.646, allocations: 76.09 kB / 1.039 GB, free: 103.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1424/2.788, allocations: 39.95 MB / 1.078 GB, free: 68.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/2.788, allocations: 0 / 1.078 GB, free: 68.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/2.788, allocations: 0.6562 kB / 1.078 GB, free: 68.82 MB / 426.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.00102/2.789, allocations: 0.5044 MB / 1.078 GB, free: 68.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/2.789, allocations: 12.03 kB / 1.078 GB, free: 68.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/2.789, allocations: 53.67 kB / 1.078 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/2.794, allocations: 370.9 kB / 1.079 GB, free: 67.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/2.795, allocations: 254.9 kB / 1.079 GB, free: 67.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/2.795, allocations: 12.06 kB / 1.079 GB, free: 67.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/2.795, allocations: 22.91 kB / 1.079 GB, free: 67.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/2.796, allocations: 460.1 kB / 1.08 GB, free: 67.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/2.796, allocations: 7.953 kB / 1.08 GB, free: 67.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/2.796, allocations: 7.25 kB / 1.08 GB, free: 67.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/2.796, allocations: 4 kB / 1.08 GB, free: 67.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/2.797, allocations: 487 kB / 1.08 GB, free: 66.96 MB / 426.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.00314/2.801, allocations: 0.9939 MB / 1.081 GB, free: 66.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/2.801, allocations: 263.6 kB / 1.081 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/2.802, allocations: 142.8 kB / 1.081 GB, free: 65.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/2.803, allocations: 0.6533 MB / 1.082 GB, free: 65.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/2.803, allocations: 46.05 kB / 1.082 GB, free: 65.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.156e-06/2.803, allocations: 0 / 1.082 GB, free: 65.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008331/2.804, allocations: 269.6 kB / 1.082 GB, free: 64.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/2.804, allocations: 85.05 kB / 1.082 GB, free: 64.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/2.804, allocations: 104.5 kB / 1.082 GB, free: 64.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/2.804, allocations: 33.39 kB / 1.083 GB, free: 64.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/2.804, allocations: 112.1 kB / 1.083 GB, free: 64.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/2.804, allocations: 107.5 kB / 1.083 GB, free: 64.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/2.805, allocations: 7.125 kB / 1.083 GB, free: 64.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/2.805, allocations: 334.4 kB / 1.083 GB, free: 64.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/2.805, allocations: 107.2 kB / 1.083 GB, free: 63.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/2.805, allocations: 184.6 kB / 1.083 GB, free: 63.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/2.806, allocations: 131.1 kB / 1.083 GB, free: 63.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/2.806, allocations: 4 kB / 1.083 GB, free: 63.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008482/2.806, allocations: 354.9 kB / 1.084 GB, free: 63.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/2.806, allocations: 8 kB / 1.084 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/2.806, allocations: 4.312 kB / 1.084 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/2.806, allocations: 4 kB / 1.084 GB, free: 63.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/2.807, allocations: 75.7 kB / 1.084 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/2.807, allocations: 8.25 kB / 1.084 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/2.808, allocations: 35.52 kB / 1.084 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/2.808, allocations: 19.73 kB / 1.084 GB, free: 63.31 MB / 426.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.0001614/2.808, allocations: 128.1 kB / 1.084 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/2.808, allocations: 15.81 kB / 1.084 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/2.809, allocations: 364 kB / 1.084 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/2.809, allocations: 4 kB / 1.084 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.809, allocations: 0 / 1.084 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/2.809, allocations: 0 / 1.084 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/2.81, allocations: 369.1 kB / 1.085 GB, free: 62.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/2.81, allocations: 0 / 1.085 GB, free: 62.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/2.811, allocations: 59.59 kB / 1.085 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/2.811, allocations: 0 / 1.085 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/2.811, allocations: 11.67 kB / 1.085 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/2.811, allocations: 8 kB / 1.085 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.811, allocations: 0 / 1.085 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/2.812, allocations: 0.5354 MB / 1.085 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/2.812, allocations: 96.8 kB / 1.085 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/2.812, allocations: 11.67 kB / 1.085 GB, free: 61.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/2.813, allocations: 15.75 kB / 1.086 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/2.813, allocations: 19.72 kB / 1.086 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/2.813, allocations: 27.73 kB / 1.086 GB, free: 61.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/2.813, allocations: 95.02 kB / 1.086 GB, free: 61.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.813, allocations: 0 / 1.086 GB, free: 61.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001399/2.814, allocations: 257.5 kB / 1.086 GB, free: 61.53 MB / 426.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.003255/2.818, allocations: 1.806 MB / 1.088 GB, free: 59.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007584/2.818, allocations: 276.2 kB / 1.088 GB, free: 59.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/2.819, allocations: 0 / 1.088 GB, free: 59.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/2.819, allocations: 140.7 kB / 1.088 GB, free: 59.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/2.82, allocations: 76.05 kB / 1.088 GB, free: 59.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/2.822, allocations: 0.7436 MB / 1.089 GB, free: 58.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/2.822, allocations: 0.7402 MB / 1.09 GB, free: 57.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008422/2.823, allocations: 86.12 kB / 1.09 GB, free: 57.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/2.823, allocations: 59.41 kB / 1.09 GB, free: 57.52 MB / 426.7 MB Notification: Performance of SimCode: time 3.136e-06/2.823, allocations: 0 / 1.09 GB, free: 57.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/2.877, allocations: 19.5 MB / 1.109 GB, free: 38.09 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/2.877, allocations: 156.3 kB / 1.109 GB, free: 37.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/6.261, allocations: 0 / 1.109 GB, free: 37.86 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat