Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.771/2.771, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.693e-05, allocations: 3.891 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.851/2.968, allocations: 0.7078 GB / 0.9952 GB, free: 72.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/2.969, allocations: 88.55 kB / 0.9952 GB, free: 72.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.112/7.081, allocations: 0.5688 GB / 1.564 GB, free: 70.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/7.081, allocations: 0 / 1.564 GB, free: 70.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.926e-05/7.081, allocations: 10.88 kB / 1.564 GB, free: 70.71 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.003228/7.084, allocations: 0.7881 MB / 1.565 GB, free: 70.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/7.084, allocations: 11.62 kB / 1.565 GB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/7.084, allocations: 53.88 kB / 1.565 GB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/7.086, allocations: 126.5 kB / 1.565 GB, free: 70.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/7.087, allocations: 372.1 kB / 1.565 GB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/7.087, allocations: 15.72 kB / 1.565 GB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/7.087, allocations: 24.56 kB / 1.565 GB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001407/7.089, allocations: 386.7 kB / 1.566 GB, free: 70.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/7.091, allocations: 484.3 kB / 1.566 GB, free: 70.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/7.091, allocations: 2.344 kB / 1.566 GB, free: 70.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/7.091, allocations: 5.531 kB / 1.566 GB, free: 70.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/7.091, allocations: 8.844 kB / 1.566 GB, free: 70.01 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.006393/7.097, allocations: 1.964 MB / 1.568 GB, free: 68.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/7.098, allocations: 140.7 kB / 1.568 GB, free: 68.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/7.098, allocations: 80.92 kB / 1.568 GB, free: 68.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/7.098, allocations: 3.938 kB / 1.568 GB, free: 68.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/7.098, allocations: 36.97 kB / 1.568 GB, free: 68.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 4.178e-06/7.098, allocations: 0 / 1.568 GB, free: 68.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.01112/7.109, allocations: 1.15 MB / 1.57 GB, free: 68.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/7.109, allocations: 58.78 kB / 1.57 GB, free: 68.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/7.11, allocations: 388 kB / 1.57 GB, free: 68.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/7.11, allocations: 25.7 kB / 1.57 GB, free: 68.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/7.111, allocations: 320.3 kB / 1.57 GB, free: 67.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/7.111, allocations: 83.33 kB / 1.57 GB, free: 67.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/7.111, allocations: 0 / 1.57 GB, free: 67.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/7.111, allocations: 350.1 kB / 1.571 GB, free: 67.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/7.111, allocations: 115.5 kB / 1.571 GB, free: 67.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/7.112, allocations: 419 kB / 1.571 GB, free: 67.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/7.113, allocations: 206.3 kB / 1.571 GB, free: 67.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/7.113, allocations: 3.188 kB / 1.571 GB, free: 67.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001936/7.115, allocations: 0.5559 MB / 1.572 GB, free: 67.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/7.115, allocations: 9.75 kB / 1.572 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/7.115, allocations: 12.22 kB / 1.572 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/7.115, allocations: 54.81 kB / 1.572 GB, free: 67.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/7.116, allocations: 137.4 kB / 1.572 GB, free: 67.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/7.118, allocations: 1.811 MB / 1.574 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/7.12, allocations: 21.19 kB / 1.574 GB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/7.12, allocations: 39.94 kB / 1.574 GB, free: 65.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002304/7.12, allocations: 132.7 kB / 1.574 GB, free: 65.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/7.12, allocations: 40.94 kB / 1.574 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/7.121, allocations: 267.6 kB / 1.574 GB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/7.121, allocations: 0 / 1.574 GB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.121, allocations: 0 / 1.574 GB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006822/7.122, allocations: 0.5129 MB / 1.575 GB, free: 64.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/7.124, allocations: 0.6323 MB / 1.575 GB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/7.124, allocations: 0 / 1.575 GB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/7.125, allocations: 60.59 kB / 1.576 GB, free: 64.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/7.125, allocations: 19.95 kB / 1.576 GB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/7.125, allocations: 0 / 1.576 GB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/7.126, allocations: 1.231 MB / 1.577 GB, free: 63.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/7.126, allocations: 3.797 kB / 1.577 GB, free: 63.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/7.127, allocations: 406.9 kB / 1.577 GB, free: 63.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/7.127, allocations: 120.4 kB / 1.577 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/7.128, allocations: 0 / 1.577 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/7.128, allocations: 11.61 kB / 1.577 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/7.128, allocations: 17.34 kB / 1.577 GB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/7.128, allocations: 15.17 kB / 1.577 GB, free: 62.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00056/7.129, allocations: 288.3 kB / 1.578 GB, free: 62.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/7.129, allocations: 0 / 1.578 GB, free: 62.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002119/7.131, allocations: 252.9 kB / 1.578 GB, free: 62.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005829/7.137, allocations: 2.102 MB / 1.58 GB, free: 62.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/7.138, allocations: 423.9 kB / 1.58 GB, free: 61.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/7.139, allocations: 1.656 kB / 1.58 GB, free: 61.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004245/7.139, allocations: 192 kB / 1.58 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/7.141, allocations: 167.7 kB / 1.581 GB, free: 61.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/7.145, allocations: 0.7411 MB / 1.581 GB, free: 61.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/7.145, allocations: 0.8347 MB / 1.582 GB, free: 60.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001244/7.147, allocations: 134.3 kB / 1.582 GB, free: 60.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/7.147, allocations: 151.4 kB / 1.582 GB, free: 60.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/7.147, allocations: 0 / 1.582 GB, free: 60.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09819/7.245, allocations: 20.56 MB / 1.603 GB, free: 59.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002498/7.246, allocations: 192.9 kB / 1.603 GB, free: 59.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.624/11.87, allocations: 11.22 kB / 1.603 GB, free: 59.71 MB / 410.7 MB