Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.663/2.663, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.748e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4192, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.091/2.51, allocations: 0.7079 GB / 1.107 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/2.51, allocations: 69.22 kB / 1.107 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5215/3.032, allocations: 40.6 MB / 1.147 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/3.032, allocations: 0 / 1.147 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.901e-05/3.032, allocations: 8 kB / 1.147 GB, free: 188.3 MB / 0.5261 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.001373/3.033, allocations: 0.5063 MB / 1.147 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/3.033, allocations: 12.03 kB / 1.147 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.975e-05/3.033, allocations: 50.55 kB / 1.148 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/3.041, allocations: 383.2 kB / 1.148 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/3.041, allocations: 258.8 kB / 1.148 GB, free: 187 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/3.041, allocations: 12.38 kB / 1.148 GB, free: 187 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/3.042, allocations: 20 kB / 1.148 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/3.043, allocations: 445.3 kB / 1.149 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/3.043, allocations: 0 / 1.149 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/3.043, allocations: 15.98 kB / 1.149 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/3.043, allocations: 11.95 kB / 1.149 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/3.045, allocations: 467.8 kB / 1.149 GB, free: 186 MB / 0.5261 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.00555/3.051, allocations: 0.9791 MB / 1.15 GB, free: 185 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/3.052, allocations: 269.1 kB / 1.15 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/3.052, allocations: 141.9 kB / 1.15 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003279/3.056, allocations: 0.7464 MB / 1.151 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/3.056, allocations: 42.56 kB / 1.151 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 5.31e-06/3.056, allocations: 4 kB / 1.151 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.001524/3.057, allocations: 274.8 kB / 1.151 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/3.058, allocations: 81.11 kB / 1.152 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/3.058, allocations: 108.9 kB / 1.152 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/3.058, allocations: 29.7 kB / 1.152 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/3.058, allocations: 183 kB / 1.152 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/3.058, allocations: 106.4 kB / 1.152 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/3.058, allocations: 8 kB / 1.152 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/3.058, allocations: 326.8 kB / 1.152 GB, free: 182.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/3.059, allocations: 104.6 kB / 1.152 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/3.059, allocations: 180.4 kB / 1.153 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/3.06, allocations: 135.1 kB / 1.153 GB, free: 182 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/3.06, allocations: 3.953 kB / 1.153 GB, free: 182 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001495/3.061, allocations: 357.1 kB / 1.153 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/3.061, allocations: 4 kB / 1.153 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/3.061, allocations: 4 kB / 1.153 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/3.062, allocations: 4 kB / 1.153 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/3.062, allocations: 75.89 kB / 1.153 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/3.062, allocations: 8.25 kB / 1.153 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/3.063, allocations: 31.83 kB / 1.153 GB, free: 181.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/3.063, allocations: 20 kB / 1.153 GB, free: 181.5 MB / 0.5261 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.0001567/3.063, allocations: 120.9 kB / 1.153 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/3.063, allocations: 23.75 kB / 1.153 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/3.064, allocations: 354.5 kB / 1.154 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/3.064, allocations: 4 kB / 1.154 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/3.064, allocations: 0 / 1.154 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/3.064, allocations: 0 / 1.154 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008881/3.065, allocations: 368.3 kB / 1.154 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/3.065, allocations: 4 kB / 1.154 GB, free: 180.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/3.066, allocations: 51.91 kB / 1.154 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/3.066, allocations: 4 kB / 1.154 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/3.066, allocations: 15.98 kB / 1.154 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/3.066, allocations: 320 / 1.154 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/3.066, allocations: 11.94 kB / 1.154 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/3.067, allocations: 0.5252 MB / 1.155 GB, free: 180 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/3.067, allocations: 92.95 kB / 1.155 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/3.067, allocations: 4.062 kB / 1.155 GB, free: 179.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/3.068, allocations: 19.98 kB / 1.155 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/3.068, allocations: 27.91 kB / 1.155 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.589e-05/3.068, allocations: 15.98 kB / 1.155 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.599e-05/3.068, allocations: 91.27 kB / 1.155 GB, free: 179.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/3.068, allocations: 0 / 1.155 GB, free: 179.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001468/3.07, allocations: 271.6 kB / 1.155 GB, free: 179.4 MB / 0.5261 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.003293/3.073, allocations: 1.812 MB / 1.157 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007321/3.074, allocations: 263.8 kB / 1.157 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/3.074, allocations: 0 / 1.157 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/3.074, allocations: 136.5 kB / 1.157 GB, free: 177.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/3.075, allocations: 83.8 kB / 1.157 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/3.077, allocations: 0.7762 MB / 1.158 GB, free: 176.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/3.077, allocations: 0.7479 MB / 1.159 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/3.078, allocations: 63.41 kB / 1.159 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/3.078, allocations: 0 / 1.159 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.876/5.954, allocations: 9.821 MB / 1.168 GB, free: 165.7 MB / 0.5261 GB