Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.314/2.314, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.578e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3983, allocations: 60.23 MB / 391.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.957/9.356, allocations: 2.83 GB / 3.212 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/9.356, allocations: 72.45 kB / 3.212 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6425/9.999, allocations: 146.3 MB / 3.355 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.296e-06/9.999, allocations: 0 / 3.355 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.612e-05/9.999, allocations: 19.94 kB / 3.355 GB, free: 42.86 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01495/10.01, allocations: 2.507 MB / 3.357 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/10.01, allocations: 12.03 kB / 3.357 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006807/10.01, allocations: 143 kB / 3.358 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/10.02, allocations: 243 kB / 3.358 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/10.02, allocations: 0.5914 MB / 3.358 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001818/10.02, allocations: 0.5177 MB / 3.359 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006003/10.02, allocations: 72 kB / 3.359 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008027/10.03, allocations: 2.41 MB / 3.361 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/10.03, allocations: 4 kB / 3.361 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/10.03, allocations: 28 kB / 3.361 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/10.03, allocations: 41.98 kB / 3.361 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/10.04, allocations: 3.314 MB / 3.365 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02387/10.06, allocations: 8.787 MB / 3.373 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005116/10.07, allocations: 1.696 MB / 3.375 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/10.07, allocations: 1.221 MB / 3.376 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.678/10.75, allocations: 88.45 MB / 3.462 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/10.75, allocations: 47.56 kB / 3.462 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 3.396e-06/10.75, allocations: 0 / 3.462 GB, free: 61.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.008299/10.76, allocations: 2.325 MB / 3.465 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/10.76, allocations: 60 kB / 3.465 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/10.76, allocations: 226.6 kB / 3.465 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000352/10.76, allocations: 36.95 kB / 3.465 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/10.76, allocations: 245.1 kB / 3.465 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/10.76, allocations: 305.7 kB / 3.466 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/10.76, allocations: 19.09 kB / 3.466 GB, free: 61.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001005/10.76, allocations: 356.3 kB / 3.466 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/10.76, allocations: 1.099 MB / 3.467 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/10.77, allocations: 1.193 MB / 3.468 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/10.77, allocations: 0.6379 MB / 3.469 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/10.77, allocations: 0.5156 kB / 3.469 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.006235/10.78, allocations: 2.054 MB / 3.471 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/10.78, allocations: 6.625 kB / 3.471 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/10.78, allocations: 3.312 kB / 3.471 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/10.78, allocations: 6.562 kB / 3.471 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007624/10.78, allocations: 1.074 MB / 3.472 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/10.78, allocations: 11.42 kB / 3.472 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/10.79, allocations: 0.8732 MB / 3.473 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/10.79, allocations: 91.5 kB / 3.473 GB, free: 60.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006355/10.79, allocations: 159.3 kB / 3.473 GB, free: 60.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/10.79, allocations: 49.41 kB / 3.473 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008927/10.8, allocations: 4.008 MB / 3.477 GB, free: 60.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007427/10.81, allocations: 3.424 MB / 3.48 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/10.81, allocations: 9.938 kB / 3.48 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/10.81, allocations: 3.891 kB / 3.48 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/10.83, allocations: 6.679 MB / 3.487 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/10.83, allocations: 0 / 3.487 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007873/10.84, allocations: 1.057 MB / 3.488 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-05/10.84, allocations: 3.969 kB / 3.488 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000714/10.84, allocations: 82.12 kB / 3.488 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/10.84, allocations: 11.28 kB / 3.488 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/10.84, allocations: 3.75 kB / 3.488 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/10.84, allocations: 2.704 MB / 3.491 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/10.84, allocations: 191.9 kB / 3.491 GB, free: 58.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007222/10.85, allocations: 19.19 kB / 3.491 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00685/10.85, allocations: 0.8358 MB / 3.492 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006846/10.85, allocations: 156.2 kB / 3.492 GB, free: 58.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003942/10.85, allocations: 91.84 kB / 3.492 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002631/10.85, allocations: 176.4 kB / 3.492 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/10.85, allocations: 0 / 3.492 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006789/10.86, allocations: 1.319 MB / 3.493 GB, free: 58.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.022/10.88, allocations: 4.603 MB / 3.498 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01433/10.9, allocations: 2.764 MB / 3.501 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/10.9, allocations: 1.5 kB / 3.501 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00798/10.91, allocations: 1.634 MB / 3.502 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/10.91, allocations: 302.2 kB / 3.502 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/10.94, allocations: 3.842 MB / 3.506 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/10.94, allocations: 1.121 MB / 3.507 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003743/10.94, allocations: 0.6776 MB / 3.508 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/10.94, allocations: 478.1 kB / 3.508 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/10.94, allocations: 0 / 3.508 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/11.07, allocations: 56.93 MB / 3.564 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/11.07, allocations: 176.5 kB / 3.564 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.807/15.88, allocations: 0 / 3.564 GB, free: 8.723 MB / 0.5105 GB