Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.345/2.345, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.801e-05/4.842e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4364, allocations: 60.24 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.908/9.344, allocations: 2.954 GB / 3.336 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/9.344, allocations: 77.53 kB / 3.336 GB, free: 53.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.178/11.52, allocations: 381 MB / 3.708 GB, free: 73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.346e-06/11.52, allocations: 3.75 kB / 3.708 GB, free: 73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001676/11.52, allocations: 100.3 kB / 3.708 GB, free: 72.99 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.05201/11.57, allocations: 10.14 MB / 3.718 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/11.57, allocations: 10.62 kB / 3.718 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004541/11.58, allocations: 0.7666 MB / 3.719 GB, free: 68.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/11.59, allocations: 0.7885 MB / 3.72 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/11.6, allocations: 2.974 MB / 3.722 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/11.6, allocations: 398.7 kB / 3.723 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004149/11.61, allocations: 0.5272 MB / 3.723 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/11.65, allocations: 12.05 MB / 3.735 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/11.65, allocations: 3.938 kB / 3.735 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003691/11.66, allocations: 220 kB / 3.735 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/11.66, allocations: 214.8 kB / 3.736 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06807/11.73, allocations: 14.03 MB / 3.749 GB, free: 38.46 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.06315/11.79, allocations: 24.48 MB / 3.773 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/11.81, allocations: 4.842 MB / 3.778 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006143/11.81, allocations: 2.153 MB / 3.78 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6299/12.44, allocations: 63.99 MB / 3.842 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.558e-05/12.44, allocations: 65.59 kB / 3.842 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 4.809e-06/12.44, allocations: 0 / 3.842 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=257): time 0.103/12.55, allocations: 12.87 MB / 3.855 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/12.55, allocations: 80.33 kB / 3.855 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007634/12.56, allocations: 3.544 MB / 3.859 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/12.56, allocations: 67.64 kB / 3.859 GB, free: 59.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/12.56, allocations: 3.145 MB / 3.862 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0029/12.56, allocations: 1.034 MB / 3.863 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/12.57, allocations: 173.9 kB / 3.863 GB, free: 57.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008534/12.57, allocations: 0.7228 MB / 3.864 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/12.58, allocations: 3.793 MB / 3.867 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01591/12.59, allocations: 8.804 MB / 3.876 GB, free: 50.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/12.61, allocations: 5.467 MB / 3.881 GB, free: 50.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002966/12.61, allocations: 50.84 kB / 3.881 GB, free: 50.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.06889/12.68, allocations: 16.88 MB / 3.898 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02302/12.7, allocations: 70.23 MB / 3.966 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005823/12.7, allocations: 177.8 kB / 3.967 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0833/12.78, allocations: 12.35 MB / 3.979 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009465/12.79, allocations: 1.677 MB / 3.98 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0386/12.83, allocations: 10.28 MB / 3.99 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/12.85, allocations: 1.321 MB / 3.992 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/12.85, allocations: 0.6326 MB / 3.992 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/12.85, allocations: 4.781 kB / 3.992 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07276/12.92, allocations: 16.47 MB / 4.008 GB, free: 4.258 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008584/12.92, allocations: 176 kB / 4.008 GB, free: 4.086 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5693/13.49, allocations: 14.04 MB / 4.022 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009936/13.5, allocations: 1.669 MB / 4.024 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03726/13.54, allocations: 10.28 MB / 4.034 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/13.55, allocations: 0.9938 MB / 4.035 GB, free: 116.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003198/13.56, allocations: 0.6344 MB / 4.035 GB, free: 116.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 902 * 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 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.004376/13.56, allocations: 0.7085 MB / 4.036 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/13.56, allocations: 364.2 kB / 4.036 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09002/13.65, allocations: 33.23 MB / 4.069 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/13.65, allocations: 72.31 kB / 4.069 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/13.65, allocations: 0 / 4.069 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/13.65, allocations: 11.34 kB / 4.069 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1087/13.76, allocations: 44.79 MB / 4.113 GB, free: 99.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/13.76, allocations: 0 / 4.113 GB, free: 99.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005012/13.77, allocations: 389.1 kB / 4.113 GB, free: 99.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06412/13.83, allocations: 8.342 MB / 4.121 GB, free: 98.33 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001575/13.83, allocations: 122.9 kB / 4.121 GB, free: 98.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1106/13.94, allocations: 30.28 MB / 4.151 GB, free: 80.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/13.94, allocations: 1.078 kB / 4.151 GB, free: 80.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07247/14.02, allocations: 15.33 MB / 4.166 GB, free: 69.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004101/14.02, allocations: 0.9385 MB / 4.167 GB, free: 68.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/14.02, allocations: 89.05 kB / 4.167 GB, free: 68.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007061/14.03, allocations: 301.9 kB / 4.167 GB, free: 68.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002431/14.03, allocations: 248.7 kB / 4.167 GB, free: 67.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008749/14.03, allocations: 102.2 kB / 4.168 GB, free: 67.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004953/14.04, allocations: 2.312 MB / 4.17 GB, free: 65.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.51e-07/14.04, allocations: 0 / 4.17 GB, free: 65.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02413/14.06, allocations: 3.408 MB / 4.173 GB, free: 62.49 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.07949/14.14, allocations: 17.28 MB / 4.19 GB, free: 49.26 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05632/14.2, allocations: 16.5 MB / 4.206 GB, free: 35.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/14.2, allocations: 2.812 kB / 4.206 GB, free: 35.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01905/14.22, allocations: 4.645 MB / 4.211 GB, free: 31.08 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006288/14.22, allocations: 0.6751 MB / 4.211 GB, free: 30.56 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03765/14.26, allocations: 11.7 MB / 4.223 GB, free: 20.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003474/14.26, allocations: 2.868 MB / 4.226 GB, free: 17.96 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.4833/14.75, allocations: 5.336 MB / 4.231 GB, free: 109.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004388/14.75, allocations: 1.766 MB / 4.232 GB, free: 109.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/14.75, allocations: 0 / 4.232 GB, free: 109.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8957/15.65, allocations: 224.6 MB / 4.452 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/15.65, allocations: 196.3 kB / 4.452 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/26.84, allocations: 0 / 4.452 GB, free: 119.6 MB / 0.5886 GB