Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_F,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_F",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.385/2.385, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.851e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4045, allocations: 60.24 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.294/9.699, allocations: 2.955 GB / 3.337 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/9.699, allocations: 81.78 kB / 3.337 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.865/14.56, allocations: 0.7243 GB / 4.061 GB, free: 38.63 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.365e-06/14.56, allocations: 0 / 4.061 GB, free: 38.63 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0005005/14.56, allocations: 299.4 kB / 4.062 GB, free: 38.62 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4501 * Number of variables: 4501 Notification: Performance of Generate backend data structure: time 0.1926/14.76, allocations: 37.52 MB / 4.098 GB, free: 32.22 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/14.76, allocations: 10.97 kB / 4.098 GB, free: 32.22 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01997/14.78, allocations: 2.421 MB / 4.101 GB, free: 32.07 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03413/14.81, allocations: 2.333 MB / 4.103 GB, free: 31.33 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05055/14.86, allocations: 8.807 MB / 4.112 GB, free: 30.25 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002134/14.86, allocations: 1.277 MB / 4.113 GB, free: 30.21 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01347/14.88, allocations: 1.686 MB / 4.115 GB, free: 30.21 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1473/15.03, allocations: 37.99 MB / 4.152 GB, free: 29.4 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001065/15.03, allocations: 6.344 kB / 4.152 GB, free: 29.4 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01138/15.04, allocations: 0.694 MB / 4.152 GB, free: 29.4 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006752/15.04, allocations: 0.6478 MB / 4.153 GB, free: 29.36 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3121/15.35, allocations: 46.25 MB / 4.198 GB, free: 6.219 MB / 0.5418 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.6982/16.05, allocations: 80.08 MB / 4.276 GB, free: 37.84 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07414/16.12, allocations: 15.34 MB / 4.291 GB, free: 37.67 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0188/16.14, allocations: 6.016 MB / 4.297 GB, free: 37.62 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2111/16.35, allocations: 64.11 MB / 4.36 GB, free: 30.36 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/16.35, allocations: 118.9 kB / 4.36 GB, free: 30.31 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=721): time 1.08e-05/16.35, allocations: 0 / 4.36 GB, free: 30.31 MB / 0.6043 GB Notification: Performance of matching and sorting (n=721): time 0.235/16.59, allocations: 36.75 MB / 4.396 GB, free: 28.12 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/16.59, allocations: 156.6 kB / 4.396 GB, free: 28.02 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03034/16.62, allocations: 12.06 MB / 4.408 GB, free: 26.95 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.004502/16.62, allocations: 154 kB / 4.408 GB, free: 26.92 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/16.63, allocations: 10.68 MB / 4.418 GB, free: 20.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.008494/16.64, allocations: 3.022 MB / 4.421 GB, free: 18.46 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00704/16.65, allocations: 0.5766 MB / 4.422 GB, free: 18.46 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001751/16.65, allocations: 308.5 kB / 4.422 GB, free: 18.16 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03508/16.69, allocations: 11.62 MB / 4.433 GB, free: 16.95 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5543/17.24, allocations: 29.55 MB / 4.462 GB, free: 81.52 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04799/17.29, allocations: 17.58 MB / 4.479 GB, free: 81.38 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001008/17.29, allocations: 182.7 kB / 4.48 GB, free: 81.38 MB / 0.6199 GB Notification: Performance of matching and sorting (n=3756) (initialization): time 0.1852/17.47, allocations: 48.91 MB / 4.527 GB, free: 78.39 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.6344/18.11, allocations: 255.2 MB / 4.777 GB, free: 75.1 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001837/18.11, allocations: 0.6248 MB / 4.777 GB, free: 75.1 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3003/18.41, allocations: 36.06 MB / 4.812 GB, free: 74.88 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04823/18.46, allocations: 5.906 MB / 4.818 GB, free: 74.88 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1506/18.61, allocations: 27.99 MB / 4.846 GB, free: 74.04 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0585/18.67, allocations: 4.353 MB / 4.85 GB, free: 72.66 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01095/18.68, allocations: 2.114 MB / 4.852 GB, free: 72.66 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/18.68, allocations: 4.719 kB / 4.852 GB, free: 72.66 MB / 0.7137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1648/18.84, allocations: 47.52 MB / 4.898 GB, free: 67.98 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002713/18.85, allocations: 0.6211 MB / 4.899 GB, free: 67.36 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7975/19.64, allocations: 38.21 MB / 4.936 GB, free: 150 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0322/19.68, allocations: 5.87 MB / 4.942 GB, free: 150 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1058/19.78, allocations: 27.97 MB / 4.969 GB, free: 149.2 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03807/19.82, allocations: 3.206 MB / 4.972 GB, free: 148.6 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01005/19.83, allocations: 2.098 MB / 4.974 GB, free: 148.6 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2917 * Number of states: 0 () * Number of discrete variables: 36 (hexB.fluidState[16].phase,hexB.fluidState[15].phase,hexB.fluidState[14].phase,hexB.fluidState[13].phase,hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[16].phase,hexA.fluidState[15].phase,hexA.fluidState[14].phase,hexA.fluidState[13].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3173): * Single equations (assignments): 3172 * 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 {43 541} Notification: Performance of prepare postOptimizeDAE: time 0.01476/19.85, allocations: 2.234 MB / 4.977 GB, free: 148.2 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006133/19.85, allocations: 1.147 MB / 4.978 GB, free: 147.6 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2599/20.11, allocations: 90.81 MB / 5.066 GB, free: 132.5 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002479/20.11, allocations: 187.6 kB / 5.067 GB, free: 132.5 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/20.11, allocations: 7.875 kB / 5.067 GB, free: 132.5 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002723/20.11, allocations: 44.56 kB / 5.067 GB, free: 132.5 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8403/20.95, allocations: 122.1 MB / 5.186 GB, free: 148.4 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/20.95, allocations: 0 / 5.186 GB, free: 148.4 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01343/20.97, allocations: 1.027 MB / 5.187 GB, free: 148.4 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1846/21.15, allocations: 24.36 MB / 5.211 GB, free: 148 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004197/21.16, allocations: 342.4 kB / 5.211 GB, free: 148 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.37/21.53, allocations: 125.7 MB / 5.334 GB, free: 102.3 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/21.53, allocations: 0 / 5.334 GB, free: 102.3 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2092/21.73, allocations: 43.48 MB / 5.376 GB, free: 81.45 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/21.75, allocations: 2.611 MB / 5.379 GB, free: 79.14 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006466/21.75, allocations: 247.6 kB / 5.379 GB, free: 78.93 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02737/21.78, allocations: 0.7877 MB / 5.38 GB, free: 78.36 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009907/21.79, allocations: 0.7308 MB / 5.38 GB, free: 77.95 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004842/21.79, allocations: 283.1 kB / 5.381 GB, free: 77.74 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.02794/21.82, allocations: 7.749 MB / 5.388 GB, free: 71.04 MB / 0.7137 GB Notification: Performance of sort global known variables: time 1.714e-06/21.82, allocations: 4 kB / 5.388 GB, free: 71.04 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.1001/21.92, allocations: 9.025 MB / 5.397 GB, free: 62.11 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 50 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexA.h[13],hexA.h[14],hexA.h[15],hexA.h[16],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12],hexB.h[13],hexB.h[14],hexB.h[15],hexB.h[16],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11],MetalWall.T[12],MetalWall.T[13],MetalWall.T[14],MetalWall.T[15],MetalWall.T[16]) * Number of discrete variables: 72 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse73.phase,$cse73.region,$cse74.phase,$cse74.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse78.phase,$cse78.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$cse81.phase,$cse81.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse84.phase,$cse84.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (405): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 36 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 34 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 32 {(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,(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: 2 {17 174,17 174} Notification: Performance of Backend phase and start with SimCode phase: time 0.7854/22.71, allocations: 46.6 MB / 5.443 GB, free: 139 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.1914/22.9, allocations: 51.98 MB / 5.493 GB, free: 136.6 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/22.9, allocations: 1.062 kB / 5.493 GB, free: 136.6 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.06197/22.96, allocations: 16.35 MB / 5.509 GB, free: 132.6 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01758/22.98, allocations: 2.068 MB / 5.511 GB, free: 132.6 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1259/23.1, allocations: 36.94 MB / 5.547 GB, free: 126.8 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01711/23.12, allocations: 7.532 MB / 5.555 GB, free: 125.7 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.08441/23.21, allocations: 19.5 MB / 5.574 GB, free: 114.9 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01359/23.22, allocations: 6.011 MB / 5.58 GB, free: 109.8 MB / 0.7137 GB Notification: Performance of SimCode: time 1.512e-06/23.22, allocations: 2.406 kB / 5.58 GB, free: 109.8 MB / 0.7137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.896/26.12, allocations: 0.5871 GB / 6.167 GB, free: 82.02 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/26.12, allocations: 215.5 kB / 6.167 GB, free: 81.79 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.52/53.64, allocations: 0 / 6.167 GB, free: 81.79 MB / 0.7293 GB