Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_hf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.327/2.327, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.585e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4342, allocations: 60.23 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.836/9.271, allocations: 2.982 GB / 3.364 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/9.271, allocations: 86.2 kB / 3.364 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.192/11.46, allocations: 333 MB / 3.689 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/11.46, allocations: 0 / 3.689 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.862e-05/11.46, allocations: 33.38 kB / 3.689 GB, free: 77.49 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.05762/11.52, allocations: 7.877 MB / 3.696 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/11.52, allocations: 12.75 kB / 3.697 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003674/11.52, allocations: 290.5 kB / 3.697 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009909/11.53, allocations: 0.822 MB / 3.698 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/11.56, allocations: 3.281 MB / 3.701 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005917/11.56, allocations: 1.09 MB / 3.702 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/11.57, allocations: 196.9 kB / 3.702 GB, free: 74.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/11.61, allocations: 9.898 MB / 3.712 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/11.61, allocations: 4 kB / 3.712 GB, free: 69.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004324/11.61, allocations: 73.58 kB / 3.712 GB, free: 69.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/11.61, allocations: 40 kB / 3.712 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07158/11.68, allocations: 16.56 MB / 3.728 GB, free: 61.42 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.1372/11.82, allocations: 48.09 MB / 3.775 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02645/11.85, allocations: 7.611 MB / 3.782 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01688/11.87, allocations: 5.527 MB / 3.788 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8306/12.7, allocations: 120 MB / 3.905 GB, free: 37.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/12.7, allocations: 64.59 kB / 3.905 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=222): time 6.913e-06/12.7, allocations: 0 / 3.905 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.0982/12.79, allocations: 21.75 MB / 3.926 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/12.79, allocations: 75.94 kB / 3.926 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/12.8, allocations: 0.5887 MB / 3.927 GB, free: 36.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003381/12.8, allocations: 68.11 kB / 3.927 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/12.8, allocations: 493.6 kB / 3.927 GB, free: 36.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004248/12.8, allocations: 0.7653 MB / 3.928 GB, free: 35.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003451/12.81, allocations: 49.45 kB / 3.928 GB, free: 35.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000484/12.81, allocations: 434.2 kB / 3.929 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01732/12.83, allocations: 5.768 MB / 3.934 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01756/12.84, allocations: 6.034 MB / 3.94 GB, free: 35.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7501/13.59, allocations: 58.79 MB / 3.998 GB, free: 103 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/13.59, allocations: 3.625 kB / 3.998 GB, free: 103 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.1798/13.77, allocations: 30.36 MB / 4.027 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004335/13.77, allocations: 1.665 MB / 4.029 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/13.77, allocations: 6.375 kB / 4.029 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.259/14.03, allocations: 50.19 MB / 4.078 GB, free: 99.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/14.04, allocations: 1.313 MB / 4.079 GB, free: 99.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05457/14.1, allocations: 13.95 MB / 4.093 GB, free: 95.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02776/14.13, allocations: 2.823 MB / 4.096 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003788/14.13, allocations: 354.2 kB / 4.096 GB, free: 93.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/14.13, allocations: 8 kB / 4.096 GB, free: 93.58 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4999/14.63, allocations: 70.64 MB / 4.165 GB, free: 38.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/14.63, allocations: 7.984 kB / 4.165 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6788/15.31, allocations: 49.92 MB / 4.214 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/15.32, allocations: 1.322 MB / 4.215 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05167/15.37, allocations: 13.58 MB / 4.228 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02713/15.4, allocations: 2.813 MB / 4.231 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003669/15.4, allocations: 352.7 kB / 4.231 GB, free: 103.7 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.005792/15.41, allocations: 258.3 kB / 4.232 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003663/15.41, allocations: 126.1 kB / 4.232 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0663/15.48, allocations: 30.43 MB / 4.261 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07139/15.55, allocations: 28.58 MB / 4.289 GB, free: 88.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.646e-05/15.55, allocations: 10.19 kB / 4.289 GB, free: 88.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/15.55, allocations: 14.73 kB / 4.289 GB, free: 88.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1455/15.7, allocations: 51.28 MB / 4.339 GB, free: 45.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-05/15.7, allocations: 0 / 4.339 GB, free: 45.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04293/15.74, allocations: 3.416 MB / 4.343 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01141/15.75, allocations: 1.106 MB / 4.344 GB, free: 42.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004011/15.75, allocations: 229.6 kB / 4.344 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/15.78, allocations: 5.98 MB / 4.35 GB, free: 37.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/15.78, allocations: 3.906 kB / 4.35 GB, free: 37.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08982/15.87, allocations: 17.6 MB / 4.367 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009775/15.88, allocations: 1.492 MB / 4.368 GB, free: 20.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004452/15.88, allocations: 60.3 kB / 4.369 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03643/15.92, allocations: 2.785 MB / 4.371 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004299/15.92, allocations: 342.6 kB / 4.372 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003351/15.93, allocations: 224.5 kB / 4.372 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001402/15.93, allocations: 464 kB / 4.372 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.72e-07/15.93, allocations: 0 / 4.372 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02579/15.95, allocations: 3.002 MB / 4.375 GB, free: 15.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4845/16.44, allocations: 20.97 MB / 4.396 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06472/16.5, allocations: 19.99 MB / 4.415 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/16.5, allocations: 3.688 kB / 4.415 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02212/16.52, allocations: 6.999 MB / 4.422 GB, free: 102 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00655/16.53, allocations: 434.9 kB / 4.422 GB, free: 102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/16.57, allocations: 10.06 MB / 4.432 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/16.57, allocations: 1.625 MB / 4.434 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01781/16.59, allocations: 3.377 MB / 4.437 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/16.6, allocations: 1.077 MB / 4.438 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.214e-06/16.6, allocations: 0 / 4.438 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.904/17.51, allocations: 282.8 MB / 4.714 GB, free: 67.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/17.51, allocations: 195.2 kB / 4.715 GB, free: 66.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/30.67, allocations: 0 / 4.715 GB, free: 66.88 MB / 0.5417 GB