Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.599/2.599, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.194e-05, allocations: 3.312 kB / 249.8 MB, free: 5.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.554, allocations: 361.8 MB / 0.6407 GB, free: 6.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/1.555, allocations: 83.95 kB / 0.6408 GB, free: 6.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6517/2.207, allocations: 80.76 MB / 0.7197 GB, free: 104.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/2.207, allocations: 0 / 0.7197 GB, free: 104.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/2.207, allocations: 12 kB / 0.7197 GB, free: 104.9 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.001403/2.208, allocations: 0.5969 MB / 0.7203 GB, free: 104.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/2.208, allocations: 8.031 kB / 0.7203 GB, free: 104.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/2.208, allocations: 50.55 kB / 0.7203 GB, free: 104.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/2.209, allocations: 39.7 kB / 0.7204 GB, free: 104.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/2.209, allocations: 274.5 kB / 0.7206 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/2.209, allocations: 8.562 kB / 0.7207 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/2.209, allocations: 19.98 kB / 0.7207 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005389/2.21, allocations: 165.1 kB / 0.7208 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/2.211, allocations: 259.4 kB / 0.7211 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/2.211, allocations: 0 / 0.7211 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/2.211, allocations: 0 / 0.7211 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/2.211, allocations: 8 kB / 0.7211 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/2.213, allocations: 1.389 MB / 0.7224 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/2.214, allocations: 155.1 kB / 0.7226 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/2.214, allocations: 84.59 kB / 0.7227 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/2.214, allocations: 4.188 kB / 0.7227 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/2.214, allocations: 38.75 kB / 0.7227 GB, free: 101.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.769e-06/2.214, allocations: 0 / 0.7227 GB, free: 101.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003018/2.217, allocations: 0.7518 MB / 0.7234 GB, free: 100.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/2.217, allocations: 55.41 kB / 0.7235 GB, free: 100.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/2.217, allocations: 199.1 kB / 0.7237 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/2.218, allocations: 29.7 kB / 0.7237 GB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/2.218, allocations: 179.8 kB / 0.7239 GB, free: 100.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.345e-05/2.218, allocations: 94.59 kB / 0.724 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/2.218, allocations: 0 / 0.724 GB, free: 100.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.166e-05/2.218, allocations: 338.8 kB / 0.7243 GB, free: 99.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/2.218, allocations: 71.94 kB / 0.7244 GB, free: 99.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/2.218, allocations: 174.9 kB / 0.7245 GB, free: 99.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/2.219, allocations: 107.9 kB / 0.7246 GB, free: 99.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.219, allocations: 0 / 0.7246 GB, free: 99.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001103/2.22, allocations: 342.8 kB / 0.725 GB, free: 99.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/2.22, allocations: 8 kB / 0.725 GB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/2.22, allocations: 4 kB / 0.725 GB, free: 99.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/2.22, allocations: 57.67 kB / 0.725 GB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/2.221, allocations: 67.91 kB / 0.7251 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/2.224, allocations: 2.56 MB / 0.7276 GB, free: 96.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/2.224, allocations: 16.05 kB / 0.7276 GB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/2.224, allocations: 16 kB / 0.7276 GB, free: 96.14 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.0002243/2.225, allocations: 116.8 kB / 0.7277 GB, free: 96.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/2.225, allocations: 23.72 kB / 0.7278 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/2.225, allocations: 33.95 kB / 0.7278 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/2.225, allocations: 0 / 0.7278 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.225, allocations: 4 kB / 0.7278 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008718/2.226, allocations: 0.5357 MB / 0.7283 GB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/2.227, allocations: 0.6408 MB / 0.7289 GB, free: 94.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/2.227, allocations: 8 kB / 0.729 GB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/2.228, allocations: 43.97 kB / 0.729 GB, free: 94.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/2.228, allocations: 52.7 kB / 0.729 GB, free: 94.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/2.228, allocations: 11.98 kB / 0.7291 GB, free: 94.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/2.23, allocations: 1.323 MB / 0.7303 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.23, allocations: 0 / 0.7303 GB, free: 93.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/2.231, allocations: 447.6 kB / 0.7308 GB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/2.231, allocations: 104.8 kB / 0.7309 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/2.231, allocations: 0 / 0.7309 GB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/2.232, allocations: 11.91 kB / 0.7309 GB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/2.232, allocations: 16.03 kB / 0.7309 GB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/2.232, allocations: 12 kB / 0.7309 GB, free: 92.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002175/2.232, allocations: 157.6 kB / 0.7311 GB, free: 92.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.232, allocations: 4 kB / 0.7311 GB, free: 92.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009124/2.233, allocations: 91.98 kB / 0.7312 GB, free: 92.21 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.00169/2.235, allocations: 1.124 MB / 0.7323 GB, free: 91.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/2.236, allocations: 431.4 kB / 0.7327 GB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/2.236, allocations: 0 / 0.7327 GB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/2.237, allocations: 226.4 kB / 0.7329 GB, free: 90.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/2.238, allocations: 116.5 kB / 0.733 GB, free: 90.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/2.24, allocations: 0.5313 MB / 0.7335 GB, free: 89.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/2.241, allocations: 0.7677 MB / 0.7343 GB, free: 88.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005924/2.241, allocations: 47.27 kB / 0.7343 GB, free: 88.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/2.241, allocations: 87.41 kB / 0.7344 GB, free: 88.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/2.241, allocations: 0 / 0.7344 GB, free: 88.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06912/2.311, allocations: 7.38 MB / 0.7416 GB, free: 81.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003656/2.311, allocations: 174.2 kB / 0.7418 GB, free: 81.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.48/5.791, allocations: 0 / 0.7418 GB, free: 81.22 MB / 410.7 MB