Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_C",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.424/2.424, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.7e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3985, allocations: 60.24 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.934/9.332, allocations: 2.954 GB / 3.336 GB, free: 52.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/9.333, allocations: 83.58 kB / 3.336 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.254/11.59, allocations: 379.9 MB / 3.707 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/11.59, allocations: 0 / 3.707 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001626/11.59, allocations: 92.94 kB / 3.707 GB, free: 73.02 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.05261/11.64, allocations: 10.08 MB / 3.717 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/11.64, allocations: 7.531 kB / 3.717 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004617/11.64, allocations: 0.7504 MB / 3.717 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00744/11.65, allocations: 0.7869 MB / 3.718 GB, free: 67.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/11.67, allocations: 2.934 MB / 3.721 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/11.67, allocations: 398.5 kB / 3.722 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003897/11.67, allocations: 0.5039 MB / 3.722 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04594/11.72, allocations: 11.91 MB / 3.734 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/11.72, allocations: 0 / 3.734 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003358/11.72, allocations: 212 kB / 3.734 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/11.72, allocations: 210.6 kB / 3.734 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06571/11.79, allocations: 13.91 MB / 3.748 GB, free: 38.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.0584/11.85, allocations: 23.99 MB / 3.771 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/11.86, allocations: 4.521 MB / 3.775 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/11.87, allocations: 1.958 MB / 3.777 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6543/12.52, allocations: 63.99 MB / 3.84 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.387e-05/12.52, allocations: 63.81 kB / 3.84 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.99e-06/12.52, allocations: 0 / 3.84 GB, free: 60.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.07115/12.59, allocations: 11.51 MB / 3.851 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/12.59, allocations: 76.03 kB / 3.851 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007592/12.6, allocations: 3.553 MB / 3.855 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001551/12.6, allocations: 69.67 kB / 3.855 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003043/12.61, allocations: 3.157 MB / 3.858 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0027/12.61, allocations: 0.9968 MB / 3.859 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/12.61, allocations: 171.3 kB / 3.859 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007073/12.61, allocations: 0.7175 MB / 3.86 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/12.62, allocations: 3.66 MB / 3.863 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01439/12.64, allocations: 8.728 MB / 3.872 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/12.65, allocations: 5.338 MB / 3.877 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00023/12.65, allocations: 52.72 kB / 3.877 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.04744/12.7, allocations: 14.02 MB / 3.891 GB, free: 49.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0249/12.72, allocations: 71.36 MB / 3.96 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006059/12.72, allocations: 179.9 kB / 3.961 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06543/12.79, allocations: 10.01 MB / 3.97 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/12.8, allocations: 1.762 MB / 3.972 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04184/12.84, allocations: 8.914 MB / 3.981 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01761/12.86, allocations: 1.304 MB / 3.982 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003614/12.86, allocations: 0.6462 MB / 3.983 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/12.86, allocations: 4.125 kB / 3.983 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05315/12.92, allocations: 13.67 MB / 3.996 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007451/12.92, allocations: 180 kB / 3.996 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06791/12.99, allocations: 10.01 MB / 4.006 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/13, allocations: 1.753 MB / 4.008 GB, free: 1.762 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4674/13.46, allocations: 9.45 MB / 4.017 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/13.48, allocations: 0.9814 MB / 4.018 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003658/13.48, allocations: 0.6355 MB / 4.019 GB, free: 117.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.005012/13.49, allocations: 0.7199 MB / 4.019 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/13.49, allocations: 363.7 kB / 4.02 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07981/13.57, allocations: 31.85 MB / 4.051 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/13.57, allocations: 72.78 kB / 4.051 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/13.57, allocations: 3.969 kB / 4.051 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/13.57, allocations: 14.77 kB / 4.051 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09816/13.67, allocations: 43.25 MB / 4.093 GB, free: 101.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/13.67, allocations: 9.047 kB / 4.093 GB, free: 101.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005373/13.67, allocations: 416.4 kB / 4.093 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05329/13.72, allocations: 6.92 MB / 4.1 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00161/13.73, allocations: 117.4 kB / 4.1 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1005/13.83, allocations: 26.93 MB / 4.127 GB, free: 91.32 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/13.83, allocations: 1.125 kB / 4.127 GB, free: 91.32 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06564/13.89, allocations: 13.74 MB / 4.14 GB, free: 81.13 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0038/13.9, allocations: 0.8996 MB / 4.141 GB, free: 80.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/13.9, allocations: 89.19 kB / 4.141 GB, free: 80.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007123/13.91, allocations: 290.6 kB / 4.141 GB, free: 80.06 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002411/13.91, allocations: 230.7 kB / 4.141 GB, free: 79.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/13.91, allocations: 103.6 kB / 4.142 GB, free: 79.86 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005272/13.91, allocations: 2.304 MB / 4.144 GB, free: 77.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.21e-07/13.91, allocations: 0 / 4.144 GB, free: 77.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0245/13.94, allocations: 3.316 MB / 4.147 GB, free: 74.64 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 (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.07041/14.01, allocations: 15.71 MB / 4.162 GB, free: 62.38 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05093/14.06, allocations: 15.5 MB / 4.178 GB, free: 49.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/14.06, allocations: 0 / 4.178 GB, free: 49.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01634/14.08, allocations: 4.12 MB / 4.182 GB, free: 45.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/14.08, allocations: 0.6501 MB / 4.182 GB, free: 44.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03732/14.12, allocations: 11.34 MB / 4.193 GB, free: 35.56 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/14.12, allocations: 2.825 MB / 4.196 GB, free: 33.42 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02421/14.15, allocations: 5.907 MB / 4.202 GB, free: 30.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004306/14.15, allocations: 1.751 MB / 4.204 GB, free: 28.63 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/14.15, allocations: 0 / 4.204 GB, free: 28.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8709/15.02, allocations: 216.7 MB / 4.415 GB, free: 2.734 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/15.02, allocations: 193.9 kB / 4.415 GB, free: 2.512 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/25.83, allocations: 4.062 kB / 4.415 GB, free: 2.508 MB / 0.573 GB