Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_C",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.541/2.541, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 5.11e-05/5.119e-05, allocations: 7.938 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4048, allocations: 60.23 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.793/9.198, allocations: 2.983 GB / 3.365 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/9.198, allocations: 80.97 kB / 3.365 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.244/11.44, allocations: 327.3 MB / 3.685 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/11.44, allocations: 0 / 3.685 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001213/11.44, allocations: 54.38 kB / 3.685 GB, free: 67.3 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.08367/11.53, allocations: 12.23 MB / 3.697 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/11.53, allocations: 11.31 kB / 3.697 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005767/11.53, allocations: 0.5418 MB / 3.697 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/11.54, allocations: 1.016 MB / 3.698 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/11.56, allocations: 3.342 MB / 3.701 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01164/11.57, allocations: 2.344 MB / 3.704 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006093/11.58, allocations: 334.3 kB / 3.704 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07122/11.65, allocations: 18.68 MB / 3.722 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/11.65, allocations: 4 kB / 3.722 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006013/11.66, allocations: 137.6 kB / 3.722 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/11.66, allocations: 169.1 kB / 3.723 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1324/11.79, allocations: 32.5 MB / 3.754 GB, free: 30.97 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.5774/12.37, allocations: 72.23 MB / 3.825 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0453/12.41, allocations: 13.68 MB / 3.838 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02579/12.44, allocations: 9.996 MB / 3.848 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2535/12.69, allocations: 75.84 MB / 3.922 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.878e-05/12.69, allocations: 74.69 kB / 3.922 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=370): time 7.103e-06/12.69, allocations: 2.906 kB / 3.922 GB, free: 20.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=372): time 0.1714/12.86, allocations: 39.69 MB / 3.961 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/12.86, allocations: 87.73 kB / 3.961 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/12.87, allocations: 0.6745 MB / 3.962 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.005123/12.87, allocations: 93.55 kB / 3.962 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/12.87, allocations: 0.7964 MB / 3.962 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006068/12.88, allocations: 1.271 MB / 3.964 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004962/12.88, allocations: 66.56 kB / 3.964 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004946/12.88, allocations: 497.3 kB / 3.964 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06716/12.95, allocations: 12.66 MB / 3.977 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0333/12.98, allocations: 10.78 MB / 3.987 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.075/14.06, allocations: 118.9 MB / 4.103 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/14.06, allocations: 3.906 kB / 4.103 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.4328/14.49, allocations: 72.12 MB / 4.174 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004886/14.49, allocations: 2.191 MB / 4.176 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/14.49, allocations: 4 kB / 4.176 GB, free: 66.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7818/15.27, allocations: 87.9 MB / 4.262 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/15.28, allocations: 0.548 MB / 4.262 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0933/15.37, allocations: 39.29 MB / 4.301 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04483/15.42, allocations: 4.435 MB / 4.305 GB, free: 99.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005994/15.42, allocations: 0.6297 MB / 4.305 GB, free: 99.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/15.42, allocations: 3.812 kB / 4.306 GB, free: 99.76 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4366/15.86, allocations: 71.84 MB / 4.376 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-05/15.86, allocations: 11.8 kB / 4.376 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8128/16.67, allocations: 87.89 MB / 4.461 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/16.68, allocations: 0.534 MB / 4.462 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1419/16.82, allocations: 39.3 MB / 4.5 GB, free: 99.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04363/16.86, allocations: 4.419 MB / 4.505 GB, free: 99.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005895/16.87, allocations: 0.6214 MB / 4.505 GB, free: 99.25 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.01256/16.88, allocations: 295.2 kB / 4.506 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005656/16.89, allocations: 188.4 kB / 4.506 GB, free: 99.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08563/16.97, allocations: 28.44 MB / 4.534 GB, free: 89.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08252/17.06, allocations: 25.17 MB / 4.558 GB, free: 68.69 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.313e-05/17.06, allocations: 11.95 kB / 4.558 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/17.06, allocations: 17.58 kB / 4.558 GB, free: 68.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6604/17.72, allocations: 68.01 MB / 4.625 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.038e-05/17.72, allocations: 8.812 kB / 4.625 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05047/17.77, allocations: 5.694 MB / 4.63 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008528/17.78, allocations: 1.666 MB / 4.632 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005709/17.78, allocations: 0.6386 MB / 4.632 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/17.82, allocations: 30.58 MB / 4.662 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/17.82, allocations: 14.72 kB / 4.662 GB, free: 82.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1087/17.93, allocations: 34.15 MB / 4.696 GB, free: 79.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01167/17.94, allocations: 2.434 MB / 4.698 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006302/17.94, allocations: 107.8 kB / 4.698 GB, free: 78.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04404/17.99, allocations: 4.381 MB / 4.702 GB, free: 78.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006204/17.99, allocations: 0.8855 MB / 4.703 GB, free: 78.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006155/18, allocations: 0.6362 MB / 4.704 GB, free: 77.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001059/18, allocations: 0.515 MB / 4.704 GB, free: 77.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/18, allocations: 0 / 4.704 GB, free: 77.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03229/18.03, allocations: 4.667 MB / 4.709 GB, free: 77.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$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.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1246/18.16, allocations: 38.72 MB / 4.747 GB, free: 59.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1117/18.27, allocations: 36.83 MB / 4.783 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/18.27, allocations: 0 / 4.783 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03962/18.31, allocations: 14.81 MB / 4.797 GB, free: 22.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/18.32, allocations: 0.9323 MB / 4.798 GB, free: 22.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07332/18.4, allocations: 18.62 MB / 4.816 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4062/18.8, allocations: 2.425 MB / 4.819 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.05104/18.85, allocations: 23.02 MB / 4.841 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02027/18.87, allocations: 2.34 MB / 4.843 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/18.87, allocations: 3.969 kB / 4.843 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.902/20.77, allocations: 0.553 GB / 5.396 GB, free: 64.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/20.78, allocations: 214.3 kB / 5.397 GB, free: 64.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.87/43.65, allocations: 0 / 5.397 GB, free: 64.52 MB / 0.5886 GB