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.483/2.483, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.056e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5054, allocations: 44.5 MB / 294.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.108/9.613, allocations: 2.574 GB / 2.861 GB, free: 84.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/9.613, allocations: 88.92 kB / 2.861 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.961/11.57, allocations: 294.1 MB / 3.148 GB, free: 58.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/11.57, allocations: 0 / 3.148 GB, free: 58.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.085e-05/11.57, allocations: 7.594 kB / 3.148 GB, free: 58.3 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.00348/11.58, allocations: 0.9175 MB / 3.149 GB, free: 57.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/11.58, allocations: 15.28 kB / 3.149 GB, free: 57.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/11.58, allocations: 84.12 kB / 3.149 GB, free: 57.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/11.58, allocations: 300.9 kB / 3.149 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/11.58, allocations: 11.28 kB / 3.149 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/11.58, allocations: 19.59 kB / 3.15 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006694/11.58, allocations: 229 kB / 3.15 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/11.58, allocations: 350.4 kB / 3.15 GB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/11.58, allocations: 11.56 kB / 3.15 GB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/11.58, allocations: 1.125 kB / 3.15 GB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/11.58, allocations: 7.781 kB / 3.15 GB, free: 57.47 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.0621/11.64, allocations: 17.76 MB / 3.167 GB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/11.64, allocations: 180.6 kB / 3.168 GB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/11.64, allocations: 88.98 kB / 3.168 GB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05986/11.7, allocations: 15.37 MB / 3.183 GB, free: 37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/11.7, allocations: 37.25 kB / 3.183 GB, free: 36.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.986e-06/11.7, allocations: 1.75 kB / 3.183 GB, free: 36.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.006853/11.71, allocations: 1.149 MB / 3.184 GB, free: 36.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/11.71, allocations: 56.44 kB / 3.184 GB, free: 36.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/11.71, allocations: 204.2 kB / 3.184 GB, free: 36.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/11.71, allocations: 29.7 kB / 3.184 GB, free: 36.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/11.71, allocations: 211.9 kB / 3.184 GB, free: 36.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/11.71, allocations: 95.44 kB / 3.184 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/11.71, allocations: 0 / 3.184 GB, free: 36.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/11.71, allocations: 340.5 kB / 3.185 GB, free: 35.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/11.71, allocations: 85.69 kB / 3.185 GB, free: 35.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/11.71, allocations: 205.7 kB / 3.185 GB, free: 35.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/11.71, allocations: 223.4 kB / 3.185 GB, free: 35.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/11.71, allocations: 2.969 kB / 3.185 GB, free: 35.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002383/11.72, allocations: 483.5 kB / 3.186 GB, free: 35.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/11.72, allocations: 7.781 kB / 3.186 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/11.72, allocations: 4.25 kB / 3.186 GB, free: 35.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/11.72, allocations: 72.8 kB / 3.186 GB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/11.72, allocations: 83.81 kB / 3.186 GB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/11.72, allocations: 1.921 MB / 3.188 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/11.72, allocations: 22.8 kB / 3.188 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/11.72, allocations: 20.38 kB / 3.188 GB, free: 33.98 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.0001647/11.72, allocations: 114.5 kB / 3.188 GB, free: 33.87 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001923/11.72, allocations: 371.9 kB / 3.188 GB, free: 33.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/11.72, allocations: 32.36 kB / 3.188 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/11.73, allocations: 0.8132 MB / 3.189 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/11.73, allocations: 11.28 kB / 3.189 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/11.73, allocations: 0 / 3.189 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00149/11.73, allocations: 1.026 MB / 3.19 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/11.73, allocations: 1.399 MB / 3.191 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/11.73, allocations: 2.875 kB / 3.191 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/11.73, allocations: 45.98 kB / 3.192 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/11.73, allocations: 103.1 kB / 3.192 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/11.73, allocations: 6.562 kB / 3.192 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/11.73, allocations: 0.7081 MB / 3.192 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/11.73, allocations: 7.125 kB / 3.192 GB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/11.73, allocations: 0.9057 MB / 3.193 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/11.73, allocations: 112.2 kB / 3.193 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/11.73, allocations: 8.469 kB / 3.193 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/11.73, allocations: 11.78 kB / 3.193 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/11.73, allocations: 18.64 kB / 3.193 GB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/11.73, allocations: 14.95 kB / 3.193 GB, free: 31.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002316/11.73, allocations: 156.6 kB / 3.193 GB, free: 31.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/11.73, allocations: 0 / 3.193 GB, free: 31.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003186/11.74, allocations: 0.5184 MB / 3.194 GB, free: 31.81 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.007062/11.75, allocations: 2.359 MB / 3.196 GB, free: 30.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/11.75, allocations: 495.6 kB / 3.197 GB, free: 30.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/11.75, allocations: 0 / 3.197 GB, free: 30.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006738/11.75, allocations: 280.3 kB / 3.197 GB, free: 30.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/11.75, allocations: 128.3 kB / 3.197 GB, free: 30.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/11.75, allocations: 0.9045 MB / 3.198 GB, free: 30.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/11.75, allocations: 0.814 MB / 3.199 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006484/11.75, allocations: 134.6 kB / 3.199 GB, free: 29.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/11.75, allocations: 134.3 kB / 3.199 GB, free: 29.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/11.75, allocations: 4 kB / 3.199 GB, free: 29.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/11.86, allocations: 22.06 MB / 3.221 GB, free: 28.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003376/11.86, allocations: 159.3 kB / 3.221 GB, free: 28.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.524/16.39, allocations: 1.125 kB / 3.221 GB, free: 28.23 MB / 410.7 MB