Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.961e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.82/1.959, allocations: 0.5216 GB / 0.9224 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.96, allocations: 87.89 kB / 0.9224 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.081/3.041, allocations: 206.4 MB / 1.124 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/3.041, allocations: 0 / 1.124 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.363e-05/3.041, allocations: 19.94 kB / 1.124 GB, free: 102.1 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002909/3.044, allocations: 1.038 MB / 1.125 GB, free: 101 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/3.044, allocations: 8.031 kB / 1.125 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/3.044, allocations: 98.5 kB / 1.125 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/3.045, allocations: 138.9 kB / 1.125 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/3.047, allocations: 0.5443 MB / 1.126 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/3.047, allocations: 100.4 kB / 1.126 GB, free: 100 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/3.047, allocations: 52 kB / 1.126 GB, free: 100 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/3.049, allocations: 0.8015 MB / 1.127 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/3.049, allocations: 3.938 kB / 1.127 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/3.049, allocations: 27.94 kB / 1.127 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/3.049, allocations: 40.98 kB / 1.127 GB, free: 99.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/3.05, allocations: 0.5913 MB / 1.127 GB, free: 98.45 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.006038/3.056, allocations: 3.918 MB / 1.131 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/3.057, allocations: 323.2 kB / 1.131 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/3.058, allocations: 169.4 kB / 1.132 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/3.058, allocations: 93.38 kB / 1.132 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/3.058, allocations: 42.83 kB / 1.132 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/3.058, allocations: 0 / 1.132 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.008418/3.066, allocations: 1.515 MB / 1.133 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/3.066, allocations: 136.5 kB / 1.133 GB, free: 91.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008988/3.067, allocations: 0.5306 MB / 1.134 GB, free: 91.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/3.067, allocations: 37.7 kB / 1.134 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/3.068, allocations: 362.9 kB / 1.134 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/3.068, allocations: 149.9 kB / 1.134 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/3.068, allocations: 12 kB / 1.134 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001155/3.068, allocations: 374.7 kB / 1.135 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/3.068, allocations: 189.5 kB / 1.135 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/3.069, allocations: 0.5051 MB / 1.135 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/3.07, allocations: 284.2 kB / 1.136 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/3.07, allocations: 4 kB / 1.136 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001962/3.072, allocations: 0.8334 MB / 1.137 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/3.072, allocations: 15.59 kB / 1.137 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/3.072, allocations: 8 kB / 1.137 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/3.074, allocations: 315.5 kB / 1.137 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/3.075, allocations: 119.8 kB / 1.137 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/3.076, allocations: 0.9257 MB / 1.138 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/3.077, allocations: 43.97 kB / 1.138 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/3.077, allocations: 63.98 kB / 1.138 GB, free: 86.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002253/3.078, allocations: 152.9 kB / 1.138 GB, free: 86.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/3.078, allocations: 71.11 kB / 1.138 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/3.08, allocations: 0.8578 MB / 1.139 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/3.08, allocations: 4 kB / 1.139 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/3.08, allocations: 0 / 1.139 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/3.08, allocations: 3.938 kB / 1.139 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/3.083, allocations: 1.434 MB / 1.14 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/3.083, allocations: 0 / 1.14 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/3.085, allocations: 215.9 kB / 1.141 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/3.085, allocations: 24.8 kB / 1.141 GB, free: 84.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/3.085, allocations: 20 kB / 1.141 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/3.087, allocations: 2.672 MB / 1.143 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/3.087, allocations: 4 kB / 1.143 GB, free: 81.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/3.089, allocations: 0.8742 MB / 1.144 GB, free: 80.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/3.089, allocations: 180.2 kB / 1.144 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/3.089, allocations: 12.06 kB / 1.144 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/3.09, allocations: 31.97 kB / 1.144 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/3.09, allocations: 43.88 kB / 1.144 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/3.09, allocations: 43.98 kB / 1.144 GB, free: 79.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007345/3.091, allocations: 427.1 kB / 1.145 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/3.091, allocations: 0 / 1.145 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001837/3.093, allocations: 335.8 kB / 1.145 GB, free: 79.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004162/3.097, allocations: 2.659 MB / 1.148 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00179/3.099, allocations: 0.5158 MB / 1.148 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.099, allocations: 3.938 kB / 1.148 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/3.101, allocations: 393.5 kB / 1.149 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/3.104, allocations: 342.6 kB / 1.149 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/3.107, allocations: 1.157 MB / 1.15 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/3.108, allocations: 0.9377 MB / 1.151 GB, free: 72.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00212/3.11, allocations: 466.4 kB / 1.152 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008631/3.111, allocations: 283.3 kB / 1.152 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/3.111, allocations: 0 / 1.152 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/3.227, allocations: 37.46 MB / 1.188 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/3.227, allocations: 247.6 kB / 1.189 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/7.43, allocations: 4 kB / 1.189 GB, free: 34.6 MB / 0.5261 GB