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 2.09/2.09, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.951e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 44.49 MB / 294.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.069/2.395, allocations: 0.7244 GB / 1.012 GB, free: 32.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/2.395, allocations: 72.39 kB / 1.012 GB, free: 32.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4066/2.802, allocations: 39.18 MB / 1.05 GB, free: 139.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.802, allocations: 0 / 1.05 GB, free: 139.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/2.802, allocations: 4.25 kB / 1.05 GB, free: 139.9 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.001036/2.803, allocations: 0.5019 MB / 1.051 GB, free: 139.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/2.803, allocations: 9.156 kB / 1.051 GB, free: 139.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/2.808, allocations: 369.5 kB / 1.051 GB, free: 139.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/2.809, allocations: 259 kB / 1.051 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/2.809, allocations: 6.344 kB / 1.051 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/2.809, allocations: 14.97 kB / 1.051 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001262/2.81, allocations: 474.5 kB / 1.052 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/2.811, allocations: 312.5 kB / 1.052 GB, free: 139.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/2.811, allocations: 1.188 kB / 1.052 GB, free: 139.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/2.811, allocations: 3.062 kB / 1.052 GB, free: 139.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/2.811, allocations: 6.266 kB / 1.052 GB, free: 139.2 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.003087/2.814, allocations: 0.9544 MB / 1.053 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/2.815, allocations: 255 kB / 1.053 GB, free: 138.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/2.815, allocations: 135.7 kB / 1.053 GB, free: 138.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/2.817, allocations: 0.6556 MB / 1.054 GB, free: 138.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/2.817, allocations: 37.38 kB / 1.054 GB, free: 138.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.056e-06/2.817, allocations: 0 / 1.054 GB, free: 138.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009153/2.818, allocations: 262.2 kB / 1.054 GB, free: 138.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/2.818, allocations: 85.05 kB / 1.054 GB, free: 138 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/2.818, allocations: 111.1 kB / 1.054 GB, free: 137.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/2.818, allocations: 25.7 kB / 1.054 GB, free: 137.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/2.818, allocations: 111 kB / 1.054 GB, free: 137.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/2.818, allocations: 107.8 kB / 1.055 GB, free: 137.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/2.818, allocations: 0 / 1.055 GB, free: 137.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/2.818, allocations: 325.1 kB / 1.055 GB, free: 137.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/2.818, allocations: 98.83 kB / 1.055 GB, free: 137.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/2.819, allocations: 192.4 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/2.819, allocations: 118.6 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.819, allocations: 4.969 kB / 1.055 GB, free: 137.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000901/2.82, allocations: 326.2 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/2.82, allocations: 6.906 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/2.82, allocations: 2.906 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/2.82, allocations: 4.531 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/2.821, allocations: 76.47 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/2.821, allocations: 3.531 kB / 1.056 GB, free: 137.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/2.821, allocations: 31.45 kB / 1.056 GB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/2.821, allocations: 21.61 kB / 1.056 GB, free: 137.2 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.0001281/2.822, allocations: 118.1 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007914/2.822, allocations: 264.6 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/2.822, allocations: 17.84 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/2.824, allocations: 329.5 kB / 1.056 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/2.824, allocations: 10.98 kB / 1.056 GB, free: 137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/2.824, allocations: 5.391 kB / 1.056 GB, free: 137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/2.824, allocations: 0 / 1.056 GB, free: 137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/2.824, allocations: 321.3 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.824, allocations: 3.219 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/2.825, allocations: 63.17 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/2.825, allocations: 1.438 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/2.825, allocations: 8.156 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/2.825, allocations: 2.406 kB / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.825, allocations: 0 / 1.057 GB, free: 136.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/2.826, allocations: 0.5229 MB / 1.057 GB, free: 136.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/2.826, allocations: 92.84 kB / 1.057 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/2.826, allocations: 7.562 kB / 1.057 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/2.827, allocations: 10.8 kB / 1.057 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/2.827, allocations: 23.52 kB / 1.057 GB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/2.827, allocations: 16.94 kB / 1.057 GB, free: 136.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/2.827, allocations: 89 kB / 1.058 GB, free: 136.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.827, allocations: 0 / 1.058 GB, free: 136.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00145/2.829, allocations: 258.7 kB / 1.058 GB, free: 136.4 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.00339/2.832, allocations: 1.872 MB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007194/2.833, allocations: 263.6 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.833, allocations: 0 / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/2.833, allocations: 129.7 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/2.834, allocations: 77.5 kB / 1.06 GB, free: 135.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/2.836, allocations: 0.7263 MB / 1.061 GB, free: 135.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/2.836, allocations: 0.7376 MB / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008442/2.837, allocations: 82.78 kB / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/2.837, allocations: 60.84 kB / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/2.837, allocations: 0 / 1.062 GB, free: 134.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/2.895, allocations: 13.08 MB / 1.074 GB, free: 133.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/2.896, allocations: 138 kB / 1.075 GB, free: 133.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/5.813, allocations: 4 kB / 1.075 GB, free: 133.3 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