Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.726/2.726, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.564e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4002, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.834/3.234, allocations: 0.8215 GB / 1.168 GB, free: 40.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/3.235, allocations: 98.11 kB / 1.168 GB, free: 40.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.445/7.68, allocations: 0.7288 GB / 1.896 GB, free: 68.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/7.68, allocations: 2.469 kB / 1.896 GB, free: 68.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.569e-05/7.68, allocations: 23.2 kB / 1.897 GB, free: 68.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005352/7.685, allocations: 1.371 MB / 1.898 GB, free: 66.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/7.685, allocations: 8.031 kB / 1.898 GB, free: 66.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/7.686, allocations: 98.69 kB / 1.898 GB, free: 66.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/7.688, allocations: 282.5 kB / 1.898 GB, free: 66.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/7.691, allocations: 0.6888 MB / 1.899 GB, free: 65.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/7.691, allocations: 89.41 kB / 1.899 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/7.691, allocations: 46.78 kB / 1.899 GB, free: 65.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002298/7.693, allocations: 0.8668 MB / 1.9 GB, free: 64.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/7.696, allocations: 1.11 MB / 1.901 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/7.696, allocations: 7.75 kB / 1.901 GB, free: 63.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/7.696, allocations: 4 kB / 1.901 GB, free: 63.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/7.696, allocations: 69.22 kB / 1.901 GB, free: 63.35 MB / 490.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.009618/7.706, allocations: 4.731 MB / 1.906 GB, free: 58.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/7.707, allocations: 243.2 kB / 1.906 GB, free: 58.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/7.707, allocations: 117.3 kB / 1.906 GB, free: 58.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/7.707, allocations: 250.8 kB / 1.906 GB, free: 57.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/7.707, allocations: 34.8 kB / 1.906 GB, free: 57.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.917e-06/7.707, allocations: 0 / 1.906 GB, free: 57.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0102/7.718, allocations: 1.514 MB / 1.908 GB, free: 56.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/7.718, allocations: 136.5 kB / 1.908 GB, free: 55.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/7.719, allocations: 0.6912 MB / 1.909 GB, free: 55.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/7.719, allocations: 25.7 kB / 1.909 GB, free: 55.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/7.72, allocations: 0.5964 MB / 1.909 GB, free: 54.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/7.72, allocations: 130.2 kB / 1.909 GB, free: 54.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/7.72, allocations: 0 / 1.909 GB, free: 54.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/7.72, allocations: 394.8 kB / 1.91 GB, free: 54.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/7.721, allocations: 258.5 kB / 1.91 GB, free: 53.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/7.722, allocations: 0.878 MB / 1.911 GB, free: 52.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/7.723, allocations: 451.4 kB / 1.911 GB, free: 52.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/7.723, allocations: 8 kB / 1.911 GB, free: 52.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002905/7.726, allocations: 1.131 MB / 1.912 GB, free: 51.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/7.726, allocations: 19.95 kB / 1.912 GB, free: 51.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/7.726, allocations: 20 kB / 1.912 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/7.728, allocations: 258.9 kB / 1.913 GB, free: 50.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/7.729, allocations: 235.6 kB / 1.913 GB, free: 50.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/7.731, allocations: 0.8858 MB / 1.914 GB, free: 49.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/7.732, allocations: 44.03 kB / 1.914 GB, free: 49.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/7.732, allocations: 99.98 kB / 1.914 GB, free: 49.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/7.733, allocations: 162.8 kB / 1.914 GB, free: 49.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/7.733, allocations: 86.97 kB / 1.914 GB, free: 49.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/7.734, allocations: 433.6 kB / 1.914 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/7.734, allocations: 7.984 kB / 1.914 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/7.734, allocations: 0 / 1.914 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/7.734, allocations: 0 / 1.914 GB, free: 48.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/7.737, allocations: 0.9965 MB / 1.915 GB, free: 47.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/7.737, allocations: 0 / 1.915 GB, free: 47.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/7.739, allocations: 179.8 kB / 1.916 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/7.739, allocations: 20.84 kB / 1.916 GB, free: 47.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/7.739, allocations: 15.77 kB / 1.916 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/7.741, allocations: 2.577 MB / 1.918 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/7.741, allocations: 0 / 1.918 GB, free: 44.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/7.743, allocations: 0.6444 MB / 1.919 GB, free: 44.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/7.743, allocations: 196.1 kB / 1.919 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/7.743, allocations: 0 / 1.919 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/7.744, allocations: 27.94 kB / 1.919 GB, free: 43.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.745, allocations: 23.97 kB / 1.919 GB, free: 43.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/7.745, allocations: 19.98 kB / 1.919 GB, free: 43.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009706/7.746, allocations: 0.4913 MB / 1.92 GB, free: 43.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.12e-07/7.746, allocations: 0 / 1.92 GB, free: 43.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002764/7.748, allocations: 475.6 kB / 1.92 GB, free: 42.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * 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.006455/7.755, allocations: 2.709 MB / 1.923 GB, free: 40.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/7.757, allocations: 0.6319 MB / 1.923 GB, free: 39.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/7.757, allocations: 192 / 1.923 GB, free: 39.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/7.759, allocations: 341.5 kB / 1.924 GB, free: 39.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/7.761, allocations: 316.5 kB / 1.924 GB, free: 39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/7.766, allocations: 1.403 MB / 1.925 GB, free: 37.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/7.767, allocations: 1.04 MB / 1.926 GB, free: 36.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002782/7.77, allocations: 370 kB / 1.927 GB, free: 36.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000905/7.771, allocations: 327.3 kB / 1.927 GB, free: 35.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/7.771, allocations: 0 / 1.927 GB, free: 35.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/7.92, allocations: 32.55 MB / 1.959 GB, free: 3.516 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003385/7.92, allocations: 237 kB / 1.959 GB, free: 3.227 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.649/12.57, allocations: 4.031 kB / 1.959 GB, free: 3.223 MB / 490.7 MB