Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.58/2.58, 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 4.13e-05/4.134e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4044, allocations: 60.23 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.942/9.347, allocations: 2.989 GB / 3.37 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/9.347, allocations: 83.64 kB / 3.371 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.116/11.46, allocations: 302.1 MB / 3.666 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.364e-06/11.46, allocations: 0 / 3.666 GB, free: 78.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.978e-05/11.46, allocations: 35.19 kB / 3.666 GB, free: 78.21 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.04003/11.5, allocations: 5.831 MB / 3.671 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/11.5, allocations: 7.688 kB / 3.671 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002839/11.51, allocations: 301.5 kB / 3.672 GB, free: 76.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/11.51, allocations: 0.5502 MB / 3.672 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009218/11.52, allocations: 1.761 MB / 3.674 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005088/11.53, allocations: 1.062 MB / 3.675 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/11.53, allocations: 175.3 kB / 3.675 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/11.56, allocations: 8.862 MB / 3.684 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/11.56, allocations: 3.75 kB / 3.684 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001947/11.57, allocations: 75.98 kB / 3.684 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/11.57, allocations: 85.23 kB / 3.684 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0477/11.61, allocations: 13.79 MB / 3.697 GB, free: 76.05 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.08765/11.7, allocations: 33.63 MB / 3.73 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/11.72, allocations: 6.672 MB / 3.737 GB, free: 42.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01167/11.74, allocations: 4.506 MB / 3.741 GB, free: 38.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.66/12.4, allocations: 75.89 MB / 3.815 GB, free: 82.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/12.4, allocations: 58.53 kB / 3.815 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.439e-06/12.4, allocations: 0 / 3.815 GB, free: 82.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.08024/12.48, allocations: 19 MB / 3.834 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/12.48, allocations: 73.59 kB / 3.834 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/12.48, allocations: 453 kB / 3.834 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002267/12.48, allocations: 64.2 kB / 3.834 GB, free: 81.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/12.48, allocations: 0.5155 MB / 3.835 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002781/12.48, allocations: 0.6565 MB / 3.836 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/12.48, allocations: 33.38 kB / 3.836 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002673/12.48, allocations: 416 kB / 3.836 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01297/12.5, allocations: 4.808 MB / 3.841 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0134/12.51, allocations: 5.04 MB / 3.846 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/12.52, allocations: 3.66 MB / 3.849 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/12.52, allocations: 3.594 kB / 3.849 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.07339/12.59, allocations: 18.18 MB / 3.867 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/12.6, allocations: 1.314 MB / 3.868 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/12.6, allocations: 6.266 kB / 3.868 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2738/12.87, allocations: 50.41 MB / 3.917 GB, free: 58.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/12.87, allocations: 309.8 kB / 3.918 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05077/12.92, allocations: 14.22 MB / 3.932 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02017/12.94, allocations: 2.001 MB / 3.934 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/12.95, allocations: 319.9 kB / 3.934 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/12.95, allocations: 4 kB / 3.934 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07328/13.02, allocations: 18.01 MB / 3.951 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/13.02, allocations: 7.953 kB / 3.951 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6345/13.65, allocations: 50.4 MB / 4.001 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/13.66, allocations: 299.1 kB / 4.001 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04981/13.71, allocations: 14.23 MB / 4.015 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02011/13.73, allocations: 1.992 MB / 4.017 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/13.73, allocations: 317.3 kB / 4.017 GB, free: 90.33 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.00258/13.73, allocations: 202.5 kB / 4.017 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/13.73, allocations: 107.3 kB / 4.017 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05435/13.79, allocations: 28.42 MB / 4.045 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04979/13.84, allocations: 26.82 MB / 4.071 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/13.84, allocations: 7.375 kB / 4.071 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/13.84, allocations: 11.25 kB / 4.071 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08331/13.92, allocations: 48.08 MB / 4.118 GB, free: 46.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/13.92, allocations: 4 kB / 4.118 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02275/13.94, allocations: 2.452 MB / 4.121 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007874/13.95, allocations: 1.139 MB / 4.122 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002406/13.95, allocations: 203.3 kB / 4.122 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/13.97, allocations: 6.043 MB / 4.128 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/13.97, allocations: 8.688 kB / 4.128 GB, free: 38.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04843/14.02, allocations: 15.38 MB / 4.143 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005419/14.02, allocations: 1.226 MB / 4.144 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/14.02, allocations: 60.73 kB / 4.144 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01929/14.04, allocations: 1.962 MB / 4.146 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002351/14.05, allocations: 321.5 kB / 4.146 GB, free: 22.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001339/14.05, allocations: 198.8 kB / 4.147 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006188/14.05, allocations: 351.6 kB / 4.147 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/14.05, allocations: 0 / 4.147 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01543/14.06, allocations: 2.633 MB / 4.15 GB, free: 19.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.05754/14.12, allocations: 18.47 MB / 4.168 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05902/14.18, allocations: 17.11 MB / 4.184 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/14.18, allocations: 5.406 kB / 4.184 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.4182/14.6, allocations: 7.292 MB / 4.191 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006251/14.61, allocations: 470.2 kB / 4.192 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/14.64, allocations: 8.825 MB / 4.2 GB, free: 104 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/14.64, allocations: 1.645 MB / 4.202 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009833/14.65, allocations: 2.456 MB / 4.204 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006926/14.66, allocations: 0.9776 MB / 4.205 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/14.66, allocations: 0 / 4.205 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9524/15.61, allocations: 271.3 MB / 4.47 GB, free: 95.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/15.61, allocations: 203.5 kB / 4.471 GB, free: 95.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/27.49, allocations: 0 / 4.471 GB, free: 95.02 MB / 0.5417 GB