Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.517/2.517, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.626e-05, allocations: 8 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4087, allocations: 60.24 MB / 391.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.115/9.524, allocations: 2.969 GB / 3.351 GB, free: 39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/9.525, allocations: 76.7 kB / 3.351 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/11.37, allocations: 295.6 MB / 3.64 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/11.37, allocations: 3.969 kB / 3.64 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.999e-05/11.37, allocations: 19.12 kB / 3.64 GB, free: 81.82 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.008857/11.38, allocations: 1.718 MB / 3.642 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/11.38, allocations: 14.58 kB / 3.642 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004136/11.38, allocations: 133 kB / 3.642 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/11.38, allocations: 253 kB / 3.642 GB, free: 81.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/11.39, allocations: 0.6957 MB / 3.643 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/11.39, allocations: 68.97 kB / 3.643 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/11.39, allocations: 89.02 kB / 3.643 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008311/11.4, allocations: 2.235 MB / 3.645 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/11.4, allocations: 3.938 kB / 3.645 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/11.4, allocations: 33.75 kB / 3.645 GB, free: 80.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-05/11.4, allocations: 43.64 kB / 3.645 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008617/11.41, allocations: 2.164 MB / 3.647 GB, free: 80.57 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.0103/11.42, allocations: 5.042 MB / 3.652 GB, free: 77.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/11.42, allocations: 1.383 MB / 3.654 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009545/11.42, allocations: 362.1 kB / 3.654 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2034/11.63, allocations: 63.95 MB / 3.716 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/11.63, allocations: 52.66 kB / 3.716 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 3.627e-06/11.63, allocations: 0 / 3.716 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.01288/11.64, allocations: 2.236 MB / 3.719 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/11.64, allocations: 59.16 kB / 3.719 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/11.64, allocations: 442.4 kB / 3.719 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003452/11.64, allocations: 36.77 kB / 3.719 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/11.64, allocations: 383.5 kB / 3.719 GB, free: 37.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/11.64, allocations: 241.2 kB / 3.72 GB, free: 37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/11.64, allocations: 16.97 kB / 3.72 GB, free: 37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001609/11.64, allocations: 375.5 kB / 3.72 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/11.64, allocations: 0.5931 MB / 3.721 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/11.65, allocations: 0.7394 MB / 3.721 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/11.65, allocations: 0.6399 MB / 3.722 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/11.65, allocations: 3.844 kB / 3.722 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007287/11.65, allocations: 2.186 MB / 3.724 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/11.65, allocations: 0.9618 MB / 3.725 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/11.65, allocations: 3.844 kB / 3.725 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/11.66, allocations: 1.604 MB / 3.727 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/11.66, allocations: 97.11 kB / 3.727 GB, free: 35.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006625/11.67, allocations: 2.363 MB / 3.729 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/11.67, allocations: 133.1 kB / 3.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003853/11.67, allocations: 93.88 kB / 3.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/11.67, allocations: 4.75 kB / 3.729 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006825/11.68, allocations: 2.085 MB / 3.731 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/11.68, allocations: 0 / 3.731 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006443/11.68, allocations: 1.609 MB / 3.733 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007372/11.69, allocations: 90.59 kB / 3.733 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/11.69, allocations: 2.355 MB / 3.735 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/11.69, allocations: 134.3 kB / 3.735 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/11.69, allocations: 87.59 kB / 3.735 GB, free: 33.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (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 (50): * Single equations (assignments): 49 * 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 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.0005419/11.7, allocations: 147 kB / 3.736 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/11.7, allocations: 67.2 kB / 3.736 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/11.71, allocations: 10.29 MB / 3.746 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/11.71, allocations: 23.5 kB / 3.746 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/11.71, allocations: 0 / 3.746 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/11.71, allocations: 3.75 kB / 3.746 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/11.72, allocations: 4.616 MB / 3.75 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/11.72, allocations: 0 / 3.75 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/11.72, allocations: 159.3 kB / 3.75 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/11.72, allocations: 423.1 kB / 3.751 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/11.72, allocations: 27.12 kB / 3.751 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007367/11.73, allocations: 4.166 MB / 3.755 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/11.73, allocations: 0 / 3.755 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/11.74, allocations: 2.522 MB / 3.757 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008714/11.74, allocations: 265.1 kB / 3.758 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/11.74, allocations: 16 kB / 3.758 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/11.74, allocations: 78.27 kB / 3.758 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/11.74, allocations: 60.36 kB / 3.758 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/11.74, allocations: 23.84 kB / 3.758 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006327/11.74, allocations: 332.3 kB / 3.758 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/11.74, allocations: 0 / 3.758 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006861/11.75, allocations: 1.335 MB / 3.759 GB, free: 13.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01679/11.76, allocations: 4.267 MB / 3.764 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007994/11.77, allocations: 2.46 MB / 3.766 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/11.77, allocations: 0 / 3.766 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002712/11.77, allocations: 1.061 MB / 3.767 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/11.78, allocations: 290.9 kB / 3.767 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/11.79, allocations: 2.52 MB / 3.77 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007437/11.79, allocations: 1.136 MB / 3.771 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001737/11.79, allocations: 415.7 kB / 3.771 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/11.79, allocations: 358 kB / 3.772 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/11.79, allocations: 0 / 3.772 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6227/12.41, allocations: 73.89 MB / 3.844 GB, free: 89.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/12.41, allocations: 196.8 kB / 3.844 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/17.51, allocations: 0 / 3.844 GB, free: 89.32 MB / 0.5261 GB