Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.56/2.56, allocations: 249.5 MB / 261.6 MB, free: 2.141 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.104e-05, allocations: 7.938 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.44, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.048/2.488, allocations: 0.7388 GB / 1.112 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/2.488, allocations: 71.03 kB / 1.112 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.487/2.975, allocations: 39.62 MB / 1.151 GB, free: 189.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.186e-06/2.975, allocations: 0 / 1.151 GB, free: 189.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.315e-05/2.975, allocations: 11.94 kB / 1.151 GB, free: 189.2 MB / 0.5105 GB 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.001046/2.976, allocations: 0.4989 MB / 1.151 GB, free: 188.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/2.976, allocations: 12.03 kB / 1.151 GB, free: 188.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/2.976, allocations: 50.55 kB / 1.151 GB, free: 188.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/2.982, allocations: 363.3 kB / 1.152 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/2.982, allocations: 270.7 kB / 1.152 GB, free: 188 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/2.982, allocations: 16.38 kB / 1.152 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/2.982, allocations: 16 kB / 1.152 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/2.983, allocations: 461 kB / 1.153 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/2.983, allocations: 0 / 1.153 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/2.984, allocations: 12 kB / 1.153 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/2.984, allocations: 4 kB / 1.153 GB, free: 187.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/2.985, allocations: 479.7 kB / 1.153 GB, free: 187 MB / 0.5105 GB 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.003143/2.988, allocations: 1.003 MB / 1.154 GB, free: 185.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/2.989, allocations: 261.2 kB / 1.154 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/2.989, allocations: 137.7 kB / 1.154 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/2.991, allocations: 0.6555 MB / 1.155 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/2.991, allocations: 38.78 kB / 1.155 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 3.767e-06/2.991, allocations: 0 / 1.155 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0008593/2.992, allocations: 283.1 kB / 1.155 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/2.992, allocations: 81.11 kB / 1.155 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/2.992, allocations: 105 kB / 1.156 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/2.992, allocations: 41.64 kB / 1.156 GB, free: 184.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/2.992, allocations: 116.4 kB / 1.156 GB, free: 184 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/2.992, allocations: 102.5 kB / 1.156 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/2.992, allocations: 4 kB / 1.156 GB, free: 183.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/2.992, allocations: 330.8 kB / 1.156 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/2.992, allocations: 100.6 kB / 1.156 GB, free: 183.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/2.993, allocations: 195.2 kB / 1.156 GB, free: 183.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/2.993, allocations: 135.8 kB / 1.156 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/2.993, allocations: 0 / 1.156 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000843/2.994, allocations: 344.6 kB / 1.157 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/2.994, allocations: 16.02 kB / 1.157 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/2.994, allocations: 0 / 1.157 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/2.994, allocations: 8 kB / 1.157 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/2.995, allocations: 71.89 kB / 1.157 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/2.995, allocations: 7.938 kB / 1.157 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/2.995, allocations: 39.62 kB / 1.157 GB, free: 182.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/2.995, allocations: 15.98 kB / 1.157 GB, free: 182.6 MB / 0.5105 GB 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.0001447/2.995, allocations: 139.6 kB / 1.157 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/2.996, allocations: 11.91 kB / 1.157 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/2.997, allocations: 346.8 kB / 1.157 GB, free: 182.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/2.997, allocations: 4 kB / 1.157 GB, free: 182.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/2.997, allocations: 0 / 1.157 GB, free: 182.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/2.997, allocations: 7.969 kB / 1.157 GB, free: 182.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/2.998, allocations: 366 kB / 1.158 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.998, allocations: 0 / 1.158 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/2.998, allocations: 55.95 kB / 1.158 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.138e-06/2.998, allocations: 4 kB / 1.158 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/2.998, allocations: 15.92 kB / 1.158 GB, free: 181.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/2.998, allocations: 4 kB / 1.158 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.998, allocations: 4 kB / 1.158 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/2.999, allocations: 0.5394 MB / 1.158 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/2.999, allocations: 92.86 kB / 1.159 GB, free: 181 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/2.999, allocations: 8.062 kB / 1.159 GB, free: 181 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/3, allocations: 19.92 kB / 1.159 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/3, allocations: 15.97 kB / 1.159 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/3, allocations: 19.98 kB / 1.159 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.974e-05/3, allocations: 91.22 kB / 1.159 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/3, allocations: 0 / 1.159 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001392/3.002, allocations: 267.8 kB / 1.159 GB, free: 180.6 MB / 0.5105 GB 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.003068/3.005, allocations: 1.804 MB / 1.161 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007383/3.006, allocations: 276.3 kB / 1.161 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/3.006, allocations: 3.938 kB / 1.161 GB, free: 178.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/3.006, allocations: 131.9 kB / 1.161 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/3.007, allocations: 81.97 kB / 1.161 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/3.009, allocations: 0.7511 MB / 1.162 GB, free: 177.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/3.009, allocations: 0.7365 MB / 1.163 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008425/3.01, allocations: 81.91 kB / 1.163 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/3.01, allocations: 63.41 kB / 1.163 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/3.01, allocations: 0 / 1.163 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/3.076, allocations: 19.4 MB / 1.182 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/3.076, allocations: 150.8 kB / 1.182 GB, free: 157 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.346/6.423, allocations: 0 / 1.182 GB, free: 157 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat