Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.331/2.331, 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 3.628e-05/3.631e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 60.24 MB / 391.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.925/9.325, allocations: 2.988 GB / 3.37 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/9.325, allocations: 79.09 kB / 3.37 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.983/11.31, allocations: 302.2 MB / 3.666 GB, free: 77.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.675e-06/11.31, allocations: 0 / 3.666 GB, free: 77.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001348/11.31, allocations: 34.73 kB / 3.666 GB, free: 77.4 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.05351/11.36, allocations: 5.835 MB / 3.671 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/11.36, allocations: 7.938 kB / 3.671 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003047/11.37, allocations: 306 kB / 3.672 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009082/11.37, allocations: 0.5497 MB / 3.672 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/11.39, allocations: 1.757 MB / 3.674 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005002/11.39, allocations: 1.061 MB / 3.675 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/11.39, allocations: 178.3 kB / 3.675 GB, free: 75.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03424/11.43, allocations: 8.867 MB / 3.684 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.55e-05/11.43, allocations: 0 / 3.684 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002313/11.43, allocations: 74.53 kB / 3.684 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/11.43, allocations: 93.28 kB / 3.684 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04662/11.48, allocations: 13.79 MB / 3.697 GB, free: 75.26 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.08753/11.56, allocations: 33.63 MB / 3.73 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02248/11.59, allocations: 6.688 MB / 3.737 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01147/11.6, allocations: 4.513 MB / 3.741 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6281/12.23, allocations: 75.77 MB / 3.815 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.688e-05/12.23, allocations: 64.03 kB / 3.815 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.268e-06/12.23, allocations: 0 / 3.815 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.08012/12.31, allocations: 19.05 MB / 3.834 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/12.31, allocations: 74.67 kB / 3.834 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/12.31, allocations: 454.3 kB / 3.834 GB, free: 82.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003315/12.31, allocations: 65.73 kB / 3.834 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/12.31, allocations: 0.5141 MB / 3.835 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004118/12.32, allocations: 0.6579 MB / 3.835 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/12.32, allocations: 34.41 kB / 3.836 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003294/12.32, allocations: 416 kB / 3.836 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01856/12.34, allocations: 4.809 MB / 3.841 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03884/12.38, allocations: 5.039 MB / 3.846 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/12.39, allocations: 3.664 MB / 3.849 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/12.39, allocations: 0 / 3.849 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.0745/12.47, allocations: 18.19 MB / 3.867 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003012/12.47, allocations: 1.314 MB / 3.868 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/12.47, allocations: 3.438 kB / 3.868 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2953/12.76, allocations: 50.41 MB / 3.917 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/12.77, allocations: 316.7 kB / 3.918 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04694/12.81, allocations: 14.22 MB / 3.932 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01999/12.83, allocations: 2.017 MB / 3.934 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00287/12.84, allocations: 311.6 kB / 3.934 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/12.84, allocations: 4 kB / 3.934 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07559/12.91, allocations: 18.02 MB / 3.951 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/12.91, allocations: 3.953 kB / 3.951 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6329/13.55, allocations: 50.41 MB / 4.001 GB, free: 90.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/13.55, allocations: 312.3 kB / 4.001 GB, free: 90.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05262/13.6, allocations: 14.22 MB / 4.015 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02044/13.62, allocations: 2.007 MB / 4.017 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002885/13.63, allocations: 312.6 kB / 4.017 GB, free: 89.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (120): * Single equations (assignments): 119 * 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: 0 * Non-linear torn systems: 1 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.004867/13.63, allocations: 201.3 kB / 4.017 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002852/13.63, allocations: 114.6 kB / 4.017 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0575/13.69, allocations: 28.42 MB / 4.045 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05097/13.74, allocations: 26.82 MB / 4.071 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.598e-05/13.74, allocations: 11.53 kB / 4.071 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.5e-05/13.74, allocations: 11.86 kB / 4.071 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0833/13.83, allocations: 48.07 MB / 4.118 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/13.83, allocations: 4 kB / 4.118 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02288/13.85, allocations: 2.468 MB / 4.121 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007738/13.86, allocations: 1.146 MB / 4.122 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002564/13.86, allocations: 201.9 kB / 4.122 GB, free: 44.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/13.87, allocations: 6.048 MB / 4.128 GB, free: 38.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/13.87, allocations: 4 kB / 4.128 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04704/13.92, allocations: 15.38 MB / 4.143 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005253/13.93, allocations: 1.219 MB / 4.144 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/13.93, allocations: 59.31 kB / 4.144 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01962/13.95, allocations: 1.979 MB / 4.146 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002651/13.95, allocations: 325.4 kB / 4.146 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002452/13.95, allocations: 201.7 kB / 4.147 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006588/13.95, allocations: 345.9 kB / 4.147 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/13.95, allocations: 0 / 4.147 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01707/13.97, allocations: 2.638 MB / 4.15 GB, free: 20.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (Mbal,hex.p,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]) * Number of discrete variables: 22 ($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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05924/14.03, allocations: 18.38 MB / 4.168 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05587/14.09, allocations: 16.96 MB / 4.184 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/14.09, allocations: 0 / 4.184 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3915/14.48, allocations: 7.025 MB / 4.191 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/14.48, allocations: 471.8 kB / 4.191 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/14.52, allocations: 8.826 MB / 4.2 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/14.52, allocations: 1.65 MB / 4.202 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01041/14.53, allocations: 2.456 MB / 4.204 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00701/14.54, allocations: 0.9846 MB / 4.205 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/14.54, allocations: 0 / 4.205 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8872/15.42, allocations: 271.4 MB / 4.47 GB, free: 94.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/15.42, allocations: 207.5 kB / 4.47 GB, free: 94.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/27.58, allocations: 0 / 4.47 GB, free: 94.5 MB / 0.5417 GB