Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.494/2.494, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.025e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 60.24 MB / 391.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.339/9.751, allocations: 3.015 GB / 3.397 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/9.751, allocations: 79.3 kB / 3.397 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.539/12.29, allocations: 398.4 MB / 3.786 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/12.29, allocations: 0 / 3.786 GB, free: 40.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001681/12.29, allocations: 64.81 kB / 3.786 GB, free: 40.44 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.0894/12.38, allocations: 12.11 MB / 3.798 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/12.38, allocations: 10 kB / 3.798 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006891/12.39, allocations: 0.5869 MB / 3.799 GB, free: 39.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/12.4, allocations: 1.193 MB / 3.8 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/12.43, allocations: 4.483 MB / 3.804 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01483/12.45, allocations: 3.123 MB / 3.807 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007201/12.45, allocations: 344.7 kB / 3.808 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0747/12.53, allocations: 19.14 MB / 3.826 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001786/12.53, allocations: 3.969 kB / 3.826 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006802/12.54, allocations: 135.7 kB / 3.827 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/12.54, allocations: 167.5 kB / 3.827 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1034/12.64, allocations: 31.66 MB / 3.858 GB, free: 32.8 MB / 0.5105 GB 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.2203/12.86, allocations: 74.54 MB / 3.93 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0788/12.94, allocations: 16.98 MB / 3.947 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03267/12.97, allocations: 11.21 MB / 3.958 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8192/13.79, allocations: 125.1 MB / 4.08 GB, free: 27.05 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/13.79, allocations: 92.95 kB / 4.08 GB, free: 27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=481): time 9.017e-06/13.79, allocations: 0 / 4.08 GB, free: 27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=482): time 0.2952/14.09, allocations: 48.84 MB / 4.128 GB, free: 24.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/14.09, allocations: 129.9 kB / 4.128 GB, free: 24.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/14.09, allocations: 0.6124 MB / 4.129 GB, free: 23.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.007577/14.1, allocations: 109.4 kB / 4.129 GB, free: 23.76 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009619/14.1, allocations: 0.7394 MB / 4.129 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009693/14.11, allocations: 1.659 MB / 4.131 GB, free: 22.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00761/14.11, allocations: 80.59 kB / 4.131 GB, free: 22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001543/14.12, allocations: 0.5178 MB / 4.132 GB, free: 37.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04378/14.16, allocations: 11.31 MB / 4.143 GB, free: 32.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03246/14.19, allocations: 11.73 MB / 4.154 GB, free: 26.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02481/14.22, allocations: 7.902 MB / 4.162 GB, free: 20.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/14.22, allocations: 4 kB / 4.162 GB, free: 20.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.6186/14.84, allocations: 40.47 MB / 4.201 GB, free: 96.93 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000494/14.84, allocations: 1.94 MB / 4.203 GB, free: 94.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/14.84, allocations: 7.828 kB / 4.203 GB, free: 94.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7482/15.58, allocations: 113.5 MB / 4.314 GB, free: 89.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006695/15.59, allocations: 0.9171 MB / 4.315 GB, free: 89.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1975/15.79, allocations: 40 MB / 4.354 GB, free: 63.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05023/15.84, allocations: 5.461 MB / 4.359 GB, free: 59.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006659/15.85, allocations: 0.7135 MB / 4.36 GB, free: 59.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/15.85, allocations: 4 kB / 4.36 GB, free: 59.23 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1467/15.99, allocations: 36.32 MB / 4.396 GB, free: 28.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/15.99, allocations: 6.156 kB / 4.396 GB, free: 28.35 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129/17.12, allocations: 114.7 MB / 4.508 GB, free: 95.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009411/17.13, allocations: 0.9603 MB / 4.509 GB, free: 95.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1725/17.3, allocations: 38.73 MB / 4.546 GB, free: 78.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0501/17.35, allocations: 5.467 MB / 4.552 GB, free: 74.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006596/17.36, allocations: 0.6965 MB / 4.552 GB, free: 74.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 1 * 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: 0 * Non-linear torn systems: 1 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.01128/17.37, allocations: 302.9 kB / 4.553 GB, free: 74.22 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006566/17.38, allocations: 228.8 kB / 4.553 GB, free: 74.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5908/17.97, allocations: 58.8 MB / 4.61 GB, free: 95.15 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1689/18.14, allocations: 55.24 MB / 4.664 GB, free: 90.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.997e-05/18.14, allocations: 11.41 kB / 4.664 GB, free: 90.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001585/18.14, allocations: 23.06 kB / 4.664 GB, free: 90.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2541/18.39, allocations: 98.39 MB / 4.76 GB, free: 42.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.561e-05/18.39, allocations: 9.656 kB / 4.76 GB, free: 42.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05225/18.45, allocations: 6.14 MB / 4.766 GB, free: 41.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1246/18.57, allocations: 20.98 MB / 4.787 GB, free: 30.56 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006407/18.58, allocations: 0.529 MB / 4.787 GB, free: 30.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5513/19.13, allocations: 50.73 MB / 4.837 GB, free: 86.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/19.13, allocations: 10.62 kB / 4.837 GB, free: 86.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2203/19.35, allocations: 42.92 MB / 4.879 GB, free: 81.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01298/19.36, allocations: 2.946 MB / 4.882 GB, free: 80.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006179/19.37, allocations: 122.3 kB / 4.882 GB, free: 80.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04867/19.42, allocations: 5.413 MB / 4.887 GB, free: 80.17 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00666/19.42, allocations: 0.9329 MB / 4.888 GB, free: 80.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006043/19.43, allocations: 0.5361 MB / 4.889 GB, free: 80.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009366/19.43, allocations: 482.7 kB / 4.889 GB, free: 79.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.22e-07/19.43, allocations: 0 / 4.889 GB, free: 79.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03629/19.47, allocations: 5.203 MB / 4.894 GB, free: 79.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 380 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.1955/19.66, allocations: 47.03 MB / 4.94 GB, free: 60.94 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2259/19.89, allocations: 49.51 MB / 4.988 GB, free: 27.89 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.818e-05/19.89, allocations: 7.062 kB / 4.988 GB, free: 27.89 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.04593/19.93, allocations: 15.41 MB / 5.003 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/19.95, allocations: 1.077 MB / 5.004 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5076/20.46, allocations: 22.77 MB / 5.027 GB, free: 90.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/20.46, allocations: 2.501 MB / 5.029 GB, free: 89.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02257/20.48, allocations: 3.322 MB / 5.032 GB, free: 89.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01743/20.5, allocations: 2 MB / 5.034 GB, free: 89.46 MB / 0.573 GB Notification: Performance of SimCode: time 2.174e-06/20.5, allocations: 0 / 5.034 GB, free: 89.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.036/22.54, allocations: 0.5745 GB / 5.609 GB, free: 43.85 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/22.54, allocations: 205.3 kB / 5.609 GB, free: 43.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/45.03, allocations: 0 / 5.609 GB, free: 43.62 MB / 0.5886 GB