Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.471/2.471, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.701e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3965, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.079/9.476, allocations: 2.981 GB / 3.363 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/9.476, allocations: 74.59 kB / 3.363 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.031/11.51, allocations: 321.2 MB / 3.677 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.975e-06/11.51, allocations: 0 / 3.677 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001192/11.51, allocations: 41.75 kB / 3.677 GB, free: 77.53 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.04762/11.55, allocations: 6.685 MB / 3.684 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/11.55, allocations: 15.72 kB / 3.684 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003079/11.56, allocations: 290.9 kB / 3.684 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/11.57, allocations: 0.7224 MB / 3.685 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01637/11.58, allocations: 2.821 MB / 3.687 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004411/11.59, allocations: 0.8665 MB / 3.688 GB, free: 75.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/11.59, allocations: 198 kB / 3.688 GB, free: 75.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03409/11.62, allocations: 8.338 MB / 3.697 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.293e-05/11.62, allocations: 4 kB / 3.697 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002887/11.63, allocations: 77.22 kB / 3.697 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/11.63, allocations: 47.5 kB / 3.697 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04717/11.67, allocations: 13.06 MB / 3.709 GB, free: 71.31 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.09182/11.77, allocations: 30.23 MB / 3.739 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03031/11.8, allocations: 7.276 MB / 3.746 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01229/11.81, allocations: 4.591 MB / 3.751 GB, free: 36.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8603/12.67, allocations: 124.5 MB / 3.872 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.934e-05/12.67, allocations: 60.78 kB / 3.872 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=247): time 7.314e-06/12.67, allocations: 0 / 3.872 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=248): time 0.08983/12.76, allocations: 19.05 MB / 3.891 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/12.76, allocations: 105.2 kB / 3.891 GB, free: 44.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/12.76, allocations: 492.6 kB / 3.891 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002661/12.76, allocations: 68.08 kB / 3.891 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/12.76, allocations: 489.8 kB / 3.892 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003437/12.77, allocations: 0.8496 MB / 3.893 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/12.77, allocations: 45 kB / 3.893 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003816/12.77, allocations: 441.2 kB / 3.893 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01335/12.78, allocations: 4.687 MB / 3.898 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01473/12.8, allocations: 4.948 MB / 3.903 GB, free: 42.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/12.81, allocations: 3.66 MB / 3.906 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/12.81, allocations: 3.875 kB / 3.906 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.05523/12.87, allocations: 14.38 MB / 3.92 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000401/12.87, allocations: 1.488 MB / 3.922 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/12.87, allocations: 14.45 kB / 3.922 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2405/13.11, allocations: 43.14 MB / 3.964 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/13.11, allocations: 183.3 kB / 3.964 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07072/13.18, allocations: 15.87 MB / 3.979 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02274/13.21, allocations: 2.162 MB / 3.982 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00317/13.21, allocations: 298.6 kB / 3.982 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/13.21, allocations: 5.312 kB / 3.982 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5559/13.77, allocations: 23.47 MB / 4.005 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/13.77, allocations: 3.531 kB / 4.005 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2304/14, allocations: 42.69 MB / 4.046 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/14, allocations: 209 kB / 4.047 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05362/14.05, allocations: 14.8 MB / 4.061 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02142/14.07, allocations: 2.159 MB / 4.063 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/14.08, allocations: 296.8 kB / 4.064 GB, free: 102.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {9 196} Notification: Performance of prepare postOptimizeDAE: time 0.004184/14.08, allocations: 213.8 kB / 4.064 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/14.08, allocations: 135.1 kB / 4.064 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05755/14.14, allocations: 25.58 MB / 4.089 GB, free: 98.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05225/14.19, allocations: 23.96 MB / 4.112 GB, free: 78.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-05/14.19, allocations: 8 kB / 4.112 GB, free: 78.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/14.19, allocations: 17.39 kB / 4.112 GB, free: 78.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1143/14.31, allocations: 42.67 MB / 4.154 GB, free: 40.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.432e-05/14.31, allocations: 8.094 kB / 4.154 GB, free: 40.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02482/14.33, allocations: 2.668 MB / 4.157 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01305/14.35, allocations: 1.652 MB / 4.158 GB, free: 37.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002765/14.35, allocations: 195.9 kB / 4.158 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03064/14.38, allocations: 27.28 MB / 4.185 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/14.38, allocations: 7.656 kB / 4.185 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.507/14.89, allocations: 16.23 MB / 4.201 GB, free: 99.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006097/14.89, allocations: 1.278 MB / 4.202 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002581/14.89, allocations: 64.61 kB / 4.202 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02094/14.92, allocations: 2.138 MB / 4.204 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002703/14.92, allocations: 341.3 kB / 4.205 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001855/14.92, allocations: 202.5 kB / 4.205 GB, free: 99.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007498/14.92, allocations: 390 kB / 4.205 GB, free: 99.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/14.92, allocations: 0.9844 kB / 4.205 GB, free: 99.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01836/14.94, allocations: 2.829 MB / 4.208 GB, free: 99.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 184 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.062/15, allocations: 18.83 MB / 4.226 GB, free: 96.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06009/15.06, allocations: 17.35 MB / 4.243 GB, free: 96.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/15.06, allocations: 0 / 4.243 GB, free: 96.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02155/15.08, allocations: 7.738 MB / 4.251 GB, free: 92.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/15.09, allocations: 0.5079 MB / 4.251 GB, free: 92.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/15.12, allocations: 9.525 MB / 4.261 GB, free: 89.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/15.13, allocations: 1.677 MB / 4.262 GB, free: 88.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01101/15.14, allocations: 2.434 MB / 4.265 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007372/15.14, allocations: 0.9847 MB / 4.266 GB, free: 87.93 MB / 0.5417 GB Notification: Performance of SimCode: time 1.813e-06/15.14, allocations: 0 / 4.266 GB, free: 87.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9685/16.11, allocations: 276.6 MB / 4.536 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/16.11, allocations: 199.8 kB / 4.536 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/28.87, allocations: 3.125 kB / 4.536 GB, free: 33.57 MB / 0.5417 GB