Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.671/2.671, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.277e-05, allocations: 4.844 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.701/9.847, allocations: 2.574 GB / 2.861 GB, free: 61.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004683/9.848, allocations: 88.12 kB / 2.861 GB, free: 61.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.219/12.07, allocations: 294.5 MB / 3.149 GB, free: 61.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.787e-06/12.07, allocations: 3.094 kB / 3.149 GB, free: 61.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.419e-05/12.07, allocations: 9.188 kB / 3.149 GB, free: 61.33 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004045/12.07, allocations: 0.9114 MB / 3.149 GB, free: 60.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/12.07, allocations: 7.594 kB / 3.149 GB, free: 60.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/12.07, allocations: 54.86 kB / 3.15 GB, free: 60.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/12.07, allocations: 93.08 kB / 3.15 GB, free: 60.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/12.07, allocations: 298 kB / 3.15 GB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/12.07, allocations: 15.94 kB / 3.15 GB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/12.07, allocations: 17.73 kB / 3.15 GB, free: 60.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007896/12.07, allocations: 236 kB / 3.15 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/12.07, allocations: 347.8 kB / 3.15 GB, free: 60.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/12.08, allocations: 3.906 kB / 3.151 GB, free: 60.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/12.08, allocations: 3.875 kB / 3.151 GB, free: 60.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/12.08, allocations: 7.125 kB / 3.151 GB, free: 60.39 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.06878/12.14, allocations: 17.76 MB / 3.168 GB, free: 49.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/12.14, allocations: 190.1 kB / 3.168 GB, free: 49.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/12.15, allocations: 86.14 kB / 3.168 GB, free: 49.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06799/12.21, allocations: 15.38 MB / 3.183 GB, free: 39.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/12.21, allocations: 41.42 kB / 3.183 GB, free: 39.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 4.278e-06/12.21, allocations: 0 / 3.183 GB, free: 39.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.007787/12.22, allocations: 1.138 MB / 3.184 GB, free: 39.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/12.22, allocations: 59.31 kB / 3.184 GB, free: 39.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/12.22, allocations: 214.9 kB / 3.185 GB, free: 39.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/12.22, allocations: 25.7 kB / 3.185 GB, free: 39.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/12.22, allocations: 198.7 kB / 3.185 GB, free: 38.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/12.22, allocations: 96.75 kB / 3.185 GB, free: 38.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/12.22, allocations: 0 / 3.185 GB, free: 38.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/12.22, allocations: 337.2 kB / 3.185 GB, free: 38.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/12.22, allocations: 88.44 kB / 3.185 GB, free: 38.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/12.22, allocations: 202.3 kB / 3.185 GB, free: 38.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/12.22, allocations: 236 kB / 3.186 GB, free: 38.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/12.22, allocations: 3.953 kB / 3.186 GB, free: 38.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002661/12.23, allocations: 482.7 kB / 3.186 GB, free: 38.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/12.23, allocations: 10.06 kB / 3.186 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/12.23, allocations: 3.656 kB / 3.186 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/12.23, allocations: 66.88 kB / 3.186 GB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/12.23, allocations: 85.09 kB / 3.186 GB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/12.23, allocations: 1.922 MB / 3.188 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/12.23, allocations: 22.58 kB / 3.188 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/12.23, allocations: 21.38 kB / 3.188 GB, free: 36.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/12.23, allocations: 117.2 kB / 3.188 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/12.23, allocations: 25.91 kB / 3.188 GB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/12.23, allocations: 0.8156 MB / 3.189 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/12.23, allocations: 11.03 kB / 3.189 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/12.23, allocations: 3.188 kB / 3.189 GB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001659/12.24, allocations: 1.033 MB / 3.19 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/12.24, allocations: 1.392 MB / 3.192 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/12.24, allocations: 0 / 3.192 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/12.24, allocations: 47.58 kB / 3.192 GB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005423/12.24, allocations: 105.6 kB / 3.192 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/12.24, allocations: 3.969 kB / 3.192 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/12.24, allocations: 0.7099 MB / 3.192 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/12.24, allocations: 0 / 3.192 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/12.24, allocations: 0.9074 MB / 3.193 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/12.24, allocations: 111.4 kB / 3.193 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/12.24, allocations: 7.969 kB / 3.193 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/12.24, allocations: 11.31 kB / 3.193 GB, free: 33.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/12.24, allocations: 28.77 kB / 3.193 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/12.24, allocations: 11.59 kB / 3.193 GB, free: 33.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002424/12.25, allocations: 167.1 kB / 3.194 GB, free: 33.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/12.25, allocations: 0 / 3.194 GB, free: 33.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003447/12.25, allocations: 0.5153 MB / 3.194 GB, free: 32.93 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: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007908/12.26, allocations: 2.337 MB / 3.196 GB, free: 31.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/12.26, allocations: 498.1 kB / 3.197 GB, free: 31.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/12.26, allocations: 0 / 3.197 GB, free: 31.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007241/12.26, allocations: 274.4 kB / 3.197 GB, free: 31.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/12.26, allocations: 139.8 kB / 3.197 GB, free: 31.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/12.26, allocations: 0.9155 MB / 3.198 GB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/12.27, allocations: 0.8179 MB / 3.199 GB, free: 30.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000664/12.27, allocations: 136.4 kB / 3.199 GB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/12.27, allocations: 127 kB / 3.199 GB, free: 30.03 MB / 410.7 MB Notification: Performance of SimCode: time 2.795e-06/12.27, allocations: 0 / 3.199 GB, free: 30.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/12.45, allocations: 22.63 MB / 3.221 GB, free: 21.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004017/12.45, allocations: 167.3 kB / 3.221 GB, free: 21.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.563/17.02, allocations: 0 / 3.221 GB, free: 21.27 MB / 410.7 MB