Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_AdaptiveAverageTemp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.386/2.386, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.209e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 60.23 MB / 391.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.074/9.5, allocations: 2.977 GB / 3.359 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/9.5, allocations: 80.78 kB / 3.359 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.054/11.55, allocations: 367.6 MB / 3.718 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.226e-06/11.55, allocations: 0 / 3.718 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.735e-05/11.55, allocations: 25.75 kB / 3.718 GB, free: 69.01 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.008563/11.56, allocations: 1.774 MB / 3.72 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/11.56, allocations: 11.03 kB / 3.72 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002901/11.56, allocations: 126.3 kB / 3.72 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/11.56, allocations: 249 kB / 3.721 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/11.57, allocations: 0.707 MB / 3.721 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/11.57, allocations: 59.31 kB / 3.721 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/11.57, allocations: 88.14 kB / 3.721 GB, free: 67.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/11.57, allocations: 2.033 MB / 3.723 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/11.57, allocations: 0 / 3.723 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/11.57, allocations: 35.5 kB / 3.723 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/11.58, allocations: 46.44 kB / 3.723 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/11.58, allocations: 1.922 MB / 3.725 GB, free: 64.85 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.009053/11.59, allocations: 4.623 MB / 3.73 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/11.6, allocations: 1.341 MB / 3.731 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009431/11.6, allocations: 387.1 kB / 3.732 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6605/12.26, allocations: 80.05 MB / 3.81 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/12.26, allocations: 48.03 kB / 3.81 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 3.427e-06/12.26, allocations: 0 / 3.81 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01072/12.27, allocations: 2.036 MB / 3.812 GB, free: 88.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/12.27, allocations: 58.59 kB / 3.812 GB, free: 88.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/12.27, allocations: 488.3 kB / 3.812 GB, free: 88.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003063/12.27, allocations: 40.52 kB / 3.812 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/12.27, allocations: 349.3 kB / 3.813 GB, free: 88.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/12.27, allocations: 260.6 kB / 3.813 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/12.27, allocations: 18.47 kB / 3.813 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001467/12.27, allocations: 382.4 kB / 3.813 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/12.27, allocations: 0.5332 MB / 3.814 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/12.27, allocations: 0.675 MB / 3.814 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/12.28, allocations: 0.5714 MB / 3.815 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/12.28, allocations: 3.75 kB / 3.815 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.006037/12.28, allocations: 1.99 MB / 3.817 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/12.28, allocations: 0.8736 MB / 3.818 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/12.28, allocations: 4.344 kB / 3.818 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/12.29, allocations: 1.573 MB / 3.819 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/12.29, allocations: 95.72 kB / 3.819 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/12.3, allocations: 2.27 MB / 3.822 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/12.3, allocations: 141.9 kB / 3.822 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/12.3, allocations: 80.08 kB / 3.822 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/12.3, allocations: 4.75 kB / 3.822 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005862/12.3, allocations: 1.88 MB / 3.824 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/12.3, allocations: 7.828 kB / 3.824 GB, free: 85.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/12.31, allocations: 1.563 MB / 3.825 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/12.31, allocations: 92.16 kB / 3.825 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/12.32, allocations: 2.274 MB / 3.828 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/12.32, allocations: 135.1 kB / 3.828 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/12.32, allocations: 76.08 kB / 3.828 GB, free: 85.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0004591/12.32, allocations: 143 kB / 3.828 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/12.32, allocations: 73.69 kB / 3.828 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/12.33, allocations: 8.816 MB / 3.837 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/12.33, allocations: 25.39 kB / 3.837 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/12.33, allocations: 7.406 kB / 3.837 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/12.33, allocations: 7.578 kB / 3.837 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00873/12.34, allocations: 4.006 MB / 3.841 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/12.34, allocations: 2.516 kB / 3.841 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/12.35, allocations: 179.7 kB / 3.841 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/12.35, allocations: 298.4 kB / 3.841 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002501/12.35, allocations: 24.88 kB / 3.841 GB, free: 83.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/12.35, allocations: 2.419 MB / 3.843 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/12.35, allocations: 3.75 kB / 3.843 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/12.36, allocations: 2.588 MB / 3.846 GB, free: 82.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/12.36, allocations: 276.2 kB / 3.846 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/12.36, allocations: 19.38 kB / 3.846 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/12.36, allocations: 83.11 kB / 3.846 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/12.36, allocations: 59 kB / 3.846 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/12.36, allocations: 29.84 kB / 3.846 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00067/12.36, allocations: 379.1 kB / 3.847 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.533e-06/12.36, allocations: 0 / 3.847 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007154/12.37, allocations: 1.438 MB / 3.848 GB, free: 82.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01622/12.39, allocations: 4.609 MB / 3.853 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007183/12.39, allocations: 2.274 MB / 3.855 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/12.39, allocations: 0 / 3.855 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/12.4, allocations: 0.9623 MB / 3.856 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/12.4, allocations: 360.9 kB / 3.856 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/12.41, allocations: 2.569 MB / 3.859 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/12.41, allocations: 1.139 MB / 3.86 GB, free: 79.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001815/12.41, allocations: 369.2 kB / 3.86 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/12.41, allocations: 390.8 kB / 3.86 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/12.41, allocations: 0 / 3.86 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/12.58, allocations: 78.26 MB / 3.937 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/12.58, allocations: 215.4 kB / 3.937 GB, free: 49.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.802/18.38, allocations: 0 / 3.937 GB, free: 49.93 MB / 0.5261 GB