Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.504/2.504, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 4.828e-05/4.834e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4014, allocations: 60.23 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.935/9.337, allocations: 2.988 GB / 3.37 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/9.337, allocations: 77.83 kB / 3.37 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.911/11.25, allocations: 302.2 MB / 3.666 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/11.25, allocations: 0 / 3.666 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.806e-05/11.25, allocations: 35 kB / 3.666 GB, free: 78.38 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.04087/11.29, allocations: 5.842 MB / 3.671 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/11.29, allocations: 11 kB / 3.671 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002582/11.29, allocations: 299 kB / 3.672 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/11.3, allocations: 0.5581 MB / 3.672 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/11.31, allocations: 1.751 MB / 3.674 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005244/11.31, allocations: 1.068 MB / 3.675 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/11.32, allocations: 180.8 kB / 3.675 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03499/11.35, allocations: 8.868 MB / 3.684 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-05/11.35, allocations: 0 / 3.684 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002856/11.35, allocations: 69.75 kB / 3.684 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/11.35, allocations: 88.12 kB / 3.684 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04781/11.4, allocations: 13.79 MB / 3.697 GB, free: 76.23 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.0894/11.49, allocations: 33.63 MB / 3.73 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02282/11.51, allocations: 6.688 MB / 3.737 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01167/11.53, allocations: 4.507 MB / 3.741 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6438/12.17, allocations: 75.9 MB / 3.815 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.219e-05/12.17, allocations: 54.28 kB / 3.815 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.569e-06/12.17, allocations: 0.5625 kB / 3.815 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.08386/12.25, allocations: 19.05 MB / 3.834 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/12.25, allocations: 75.41 kB / 3.834 GB, free: 82.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/12.25, allocations: 454.4 kB / 3.834 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002449/12.26, allocations: 58.86 kB / 3.834 GB, free: 82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/12.26, allocations: 0.5197 MB / 3.835 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003012/12.26, allocations: 0.6617 MB / 3.836 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/12.26, allocations: 32.47 kB / 3.836 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003086/12.26, allocations: 423.2 kB / 3.836 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01345/12.28, allocations: 4.808 MB / 3.841 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/12.29, allocations: 5.038 MB / 3.846 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/12.3, allocations: 3.659 MB / 3.849 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/12.3, allocations: 0 / 3.849 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.08024/12.38, allocations: 18.19 MB / 3.867 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/12.38, allocations: 1.317 MB / 3.868 GB, free: 75.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/12.38, allocations: 3.906 kB / 3.868 GB, free: 75.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2623/12.64, allocations: 50.4 MB / 3.917 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/12.65, allocations: 320.7 kB / 3.918 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05172/12.7, allocations: 14.22 MB / 3.932 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02562/12.72, allocations: 2.018 MB / 3.934 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003075/12.73, allocations: 313 kB / 3.934 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/12.73, allocations: 4 kB / 3.934 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07753/12.8, allocations: 18.02 MB / 3.952 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/12.8, allocations: 7.953 kB / 3.952 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6492/13.45, allocations: 50.41 MB / 4.001 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/13.46, allocations: 308.2 kB / 4.001 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05089/13.51, allocations: 14.23 MB / 4.015 GB, free: 90.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02042/13.53, allocations: 2.01 MB / 4.017 GB, free: 90.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002902/13.53, allocations: 308 kB / 4.017 GB, free: 90.51 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.004868/13.54, allocations: 199.7 kB / 4.017 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002844/13.54, allocations: 114.8 kB / 4.018 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05662/13.6, allocations: 28.42 MB / 4.045 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05082/13.65, allocations: 26.82 MB / 4.071 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/13.65, allocations: 8.562 kB / 4.071 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.841e-05/13.65, allocations: 10.64 kB / 4.071 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08523/13.73, allocations: 48.07 MB / 4.118 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/13.73, allocations: 4 kB / 4.118 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02332/13.76, allocations: 2.469 MB / 4.121 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007889/13.76, allocations: 1.143 MB / 4.122 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00262/13.77, allocations: 200.5 kB / 4.122 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/13.78, allocations: 6.063 MB / 4.128 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/13.78, allocations: 7.844 kB / 4.128 GB, free: 38.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05087/13.83, allocations: 15.37 MB / 4.143 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005677/13.84, allocations: 1.224 MB / 4.144 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002854/13.84, allocations: 55.52 kB / 4.144 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02015/13.86, allocations: 1.972 MB / 4.146 GB, free: 23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002589/13.86, allocations: 334.2 kB / 4.147 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002442/13.87, allocations: 202.7 kB / 4.147 GB, free: 22.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006758/13.87, allocations: 347.9 kB / 4.147 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/13.87, allocations: 3.5 kB / 4.147 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01694/13.88, allocations: 2.628 MB / 4.15 GB, free: 20.02 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.0606/13.94, allocations: 18.38 MB / 4.168 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0572/14, allocations: 16.99 MB / 4.184 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/14, allocations: 2.344 kB / 4.184 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3987/14.4, allocations: 7.194 MB / 4.191 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00642/14.41, allocations: 471.6 kB / 4.192 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/14.44, allocations: 8.822 MB / 4.2 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/14.44, allocations: 1.648 MB / 4.202 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009793/14.45, allocations: 2.46 MB / 4.204 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006902/14.46, allocations: 0.9763 MB / 4.205 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.813e-06/14.46, allocations: 0 / 4.205 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8876/15.35, allocations: 271.4 MB / 4.47 GB, free: 95.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/15.35, allocations: 203.5 kB / 4.471 GB, free: 95.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/27.27, allocations: 0.7656 kB / 4.471 GB, free: 95.2 MB / 0.5417 GB