Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.425/2.425, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.284e-05/5.295e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4307, allocations: 60.23 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.15/9.581, allocations: 2.946 GB / 3.328 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/9.581, allocations: 80.08 kB / 3.328 GB, free: 61.01 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.124/11.7, allocations: 308.4 MB / 3.629 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.096e-06/11.7, allocations: 0 / 3.629 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001706/11.71, allocations: 86.66 kB / 3.629 GB, free: 72.98 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.05089/11.76, allocations: 9.935 MB / 3.639 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/11.76, allocations: 7.531 kB / 3.639 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004528/11.76, allocations: 0.7326 MB / 3.64 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007335/11.77, allocations: 0.7727 MB / 3.641 GB, free: 71.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/11.78, allocations: 2.901 MB / 3.643 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005841/11.78, allocations: 389.3 kB / 3.644 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/11.79, allocations: 0.5014 MB / 3.644 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/11.83, allocations: 11.79 MB / 3.656 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/11.83, allocations: 0 / 3.656 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003339/11.84, allocations: 209.8 kB / 3.656 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002263/11.84, allocations: 198.6 kB / 3.656 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0713/11.91, allocations: 13.81 MB / 3.67 GB, free: 70.52 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.06368/11.97, allocations: 24.74 MB / 3.694 GB, free: 59.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/11.99, allocations: 4.407 MB / 3.698 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005979/12, allocations: 1.939 MB / 3.7 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2109/12.21, allocations: 64 MB / 3.763 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.784e-05/12.21, allocations: 60.56 kB / 3.763 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=240): time 8.466e-06/12.21, allocations: 0 / 3.763 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=240): time 0.1046/12.31, allocations: 12 MB / 3.774 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/12.31, allocations: 84.31 kB / 3.774 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008542/12.32, allocations: 3.524 MB / 3.778 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001526/12.32, allocations: 77.7 kB / 3.778 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003673/12.33, allocations: 3.133 MB / 3.781 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002756/12.33, allocations: 0.9773 MB / 3.782 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/12.33, allocations: 175.9 kB / 3.782 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008711/12.33, allocations: 0.7164 MB / 3.783 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/12.34, allocations: 3.643 MB / 3.786 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02228/12.36, allocations: 9.019 MB / 3.795 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/12.38, allocations: 5.321 MB / 3.8 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/12.38, allocations: 52 kB / 3.8 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.459/12.84, allocations: 14.38 MB / 3.814 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.02191/12.86, allocations: 71.36 MB / 3.884 GB, free: 48.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006/12.86, allocations: 182.9 kB / 3.884 GB, free: 48.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06378/12.93, allocations: 9.969 MB / 3.894 GB, free: 48.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/12.94, allocations: 1.747 MB / 3.896 GB, free: 48.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03057/12.97, allocations: 8.926 MB / 3.905 GB, free: 48.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/12.98, allocations: 1.285 MB / 3.906 GB, free: 47.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002972/12.98, allocations: 0.6383 MB / 3.906 GB, free: 47.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/12.98, allocations: 4.594 kB / 3.906 GB, free: 47.77 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0442/13.03, allocations: 13.93 MB / 3.92 GB, free: 46.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000752/13.03, allocations: 179.1 kB / 3.92 GB, free: 46.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06376/13.09, allocations: 9.965 MB / 3.93 GB, free: 46.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/13.1, allocations: 1.736 MB / 3.932 GB, free: 46.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03106/13.13, allocations: 8.923 MB / 3.94 GB, free: 46.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/13.15, allocations: 0.9615 MB / 3.941 GB, free: 45.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003698/13.15, allocations: 0.6348 MB / 3.942 GB, free: 45.93 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: 12 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.004255/13.16, allocations: 0.7215 MB / 3.943 GB, free: 45.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/13.16, allocations: 359.3 kB / 3.943 GB, free: 45.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08811/13.25, allocations: 31.42 MB / 3.974 GB, free: 34.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001406/13.25, allocations: 63.25 kB / 3.974 GB, free: 34.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/13.25, allocations: 0 / 3.974 GB, free: 34.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/13.25, allocations: 13.08 kB / 3.974 GB, free: 34.25 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5452/13.79, allocations: 42.66 MB / 4.015 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/13.79, allocations: 0.5312 kB / 4.015 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005584/13.8, allocations: 397.1 kB / 4.016 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0977/13.9, allocations: 6.95 MB / 4.023 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001579/13.9, allocations: 124.5 kB / 4.023 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08682/13.99, allocations: 28.2 MB / 4.05 GB, free: 112.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/13.99, allocations: 2.625 kB / 4.05 GB, free: 112.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05901/14.04, allocations: 13.47 MB / 4.063 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003724/14.05, allocations: 0.8816 MB / 4.064 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/14.05, allocations: 87.39 kB / 4.064 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006654/14.06, allocations: 268 kB / 4.065 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00246/14.06, allocations: 236.3 kB / 4.065 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009682/14.06, allocations: 99.39 kB / 4.065 GB, free: 111.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005253/14.07, allocations: 2.288 MB / 4.067 GB, free: 111.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.81e-07/14.07, allocations: 0 / 4.067 GB, free: 111.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02349/14.09, allocations: 3.273 MB / 4.07 GB, free: 111.4 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.06799/14.16, allocations: 15.32 MB / 4.085 GB, free: 109.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04808/14.21, allocations: 15.4 MB / 4.1 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/14.21, allocations: 0 / 4.1 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/14.22, allocations: 4.127 MB / 4.104 GB, free: 103.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/14.23, allocations: 0.6191 MB / 4.105 GB, free: 103.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/14.26, allocations: 11.08 MB / 4.116 GB, free: 100.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/14.27, allocations: 2.768 MB / 4.118 GB, free: 99.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.024/14.29, allocations: 5.793 MB / 4.124 GB, free: 98.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004707/14.3, allocations: 1.697 MB / 4.126 GB, free: 97.16 MB / 0.573 GB Notification: Performance of SimCode: time 3.066e-06/14.3, allocations: 0 / 4.126 GB, free: 97.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8431/15.14, allocations: 211.9 MB / 4.333 GB, free: 90.83 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/15.14, allocations: 201.3 kB / 4.333 GB, free: 90.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/25.69, allocations: 0 / 4.333 GB, free: 90.6 MB / 0.573 GB