Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.545/2.545, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.822e-05, allocations: 3.406 kB / 249.8 MB, free: 5.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.51/11.65, allocations: 2.901 GB / 3.188 GB, free: 26.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/11.65, allocations: 88.94 kB / 3.188 GB, free: 25.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.817/17.47, allocations: 0.9697 GB / 4.158 GB, free: 21.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/17.47, allocations: 0 / 4.158 GB, free: 21.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/17.47, allocations: 8 kB / 4.158 GB, free: 21.09 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005886/17.48, allocations: 1.202 MB / 4.159 GB, free: 19.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/17.48, allocations: 11.97 kB / 4.159 GB, free: 19.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.726e-05/17.48, allocations: 50.55 kB / 4.159 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/17.48, allocations: 43.05 kB / 4.159 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/17.48, allocations: 262.5 kB / 4.159 GB, free: 19.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/17.48, allocations: 16.56 kB / 4.159 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/17.48, allocations: 12 kB / 4.159 GB, free: 19.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005713/17.48, allocations: 173.1 kB / 4.159 GB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/17.48, allocations: 266.5 kB / 4.16 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/17.48, allocations: 3.906 kB / 4.16 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/17.48, allocations: 4 kB / 4.16 GB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/17.48, allocations: 11.44 kB / 4.16 GB, free: 19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/17.48, allocations: 1.376 MB / 4.161 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/17.48, allocations: 159.1 kB / 4.161 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/17.48, allocations: 82.7 kB / 4.161 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/17.48, allocations: 4.125 kB / 4.161 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/17.48, allocations: 42.73 kB / 4.161 GB, free: 17.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.827e-06/17.48, allocations: 0 / 4.161 GB, free: 17.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003248/17.49, allocations: 0.7397 MB / 4.162 GB, free: 16.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/17.49, allocations: 63.39 kB / 4.162 GB, free: 16.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/17.49, allocations: 195.1 kB / 4.162 GB, free: 16.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/17.49, allocations: 25.7 kB / 4.162 GB, free: 16.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/17.49, allocations: 183.8 kB / 4.163 GB, free: 15.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/17.49, allocations: 90.66 kB / 4.163 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/17.49, allocations: 2.625 kB / 4.163 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/17.49, allocations: 330.8 kB / 4.163 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/17.49, allocations: 76 kB / 4.163 GB, free: 15.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/17.49, allocations: 162.9 kB / 4.163 GB, free: 15.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/17.49, allocations: 105.9 kB / 4.163 GB, free: 15.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/17.49, allocations: 3.953 kB / 4.163 GB, free: 15.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00122/17.49, allocations: 342.8 kB / 4.164 GB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/17.49, allocations: 8 kB / 4.164 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/17.49, allocations: 0 / 4.164 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/17.49, allocations: 66.05 kB / 4.164 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/17.49, allocations: 63.91 kB / 4.164 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/17.49, allocations: 2.569 MB / 4.166 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006076/17.49, allocations: 23.89 kB / 4.166 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/17.49, allocations: 12 kB / 4.166 GB, free: 11.83 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002302/17.49, allocations: 115.7 kB / 4.166 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/17.49, allocations: 27.72 kB / 4.166 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/17.49, allocations: 29.95 kB / 4.166 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/17.49, allocations: 4 kB / 4.166 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/17.49, allocations: 0 / 4.166 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008947/17.5, allocations: 0.5432 MB / 4.167 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/17.5, allocations: 0.6367 MB / 4.168 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/17.5, allocations: 0 / 4.168 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/17.5, allocations: 47.8 kB / 4.168 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/17.5, allocations: 52.73 kB / 4.168 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/17.5, allocations: 0 / 4.168 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/17.5, allocations: 1.333 MB / 4.169 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/17.5, allocations: 4.031 kB / 4.169 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/17.5, allocations: 455.5 kB / 4.169 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/17.5, allocations: 96.86 kB / 4.17 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/17.5, allocations: 0 / 4.17 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/17.5, allocations: 16 kB / 4.17 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/17.5, allocations: 19.97 kB / 4.17 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/17.5, allocations: 8 kB / 4.17 GB, free: 8.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002288/17.5, allocations: 153.6 kB / 4.17 GB, free: 8.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/17.5, allocations: 0 / 4.17 GB, free: 8.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001581/17.5, allocations: 108 kB / 4.17 GB, free: 7.926 MB / 410.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002467/17.51, allocations: 1.283 MB / 4.171 GB, free: 6.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/17.51, allocations: 435.9 kB / 4.171 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/17.51, allocations: 0 / 4.171 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/17.51, allocations: 217.8 kB / 4.172 GB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/17.51, allocations: 118.7 kB / 4.172 GB, free: 5.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/17.51, allocations: 0.525 MB / 4.172 GB, free: 5.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/17.51, allocations: 0.7756 MB / 4.173 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006153/17.51, allocations: 48.42 kB / 4.173 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/17.51, allocations: 83.41 kB / 4.173 GB, free: 4.387 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/17.51, allocations: 0 / 4.173 GB, free: 4.387 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6003/18.11, allocations: 8.652 MB / 4.182 GB, free: 61.35 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003584/18.11, allocations: 170 kB / 4.182 GB, free: 61.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.992/22.11, allocations: 5.031 kB / 4.182 GB, free: 61.16 MB / 410.7 MB