Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_CheckFlow1DFV2phMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.338/2.338, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.365e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4445, allocations: 60.24 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.947/9.391, allocations: 2.831 GB / 3.213 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/9.392, allocations: 72.58 kB / 3.213 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5348/9.927, allocations: 122.7 MB / 3.333 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/9.927, allocations: 4 kB / 3.333 GB, free: 63.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.26e-05/9.927, allocations: 14.5 kB / 3.333 GB, free: 63.22 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.008729/9.935, allocations: 1.391 MB / 3.335 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/9.936, allocations: 8.031 kB / 3.335 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003554/9.936, allocations: 77.33 kB / 3.335 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/9.938, allocations: 161.8 kB / 3.335 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/9.939, allocations: 345 kB / 3.335 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/9.94, allocations: 147.9 kB / 3.335 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/9.94, allocations: 42.3 kB / 3.335 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005053/9.945, allocations: 1.507 MB / 3.337 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/9.945, allocations: 0 / 3.337 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/9.945, allocations: 12 kB / 3.337 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/9.945, allocations: 16.5 kB / 3.337 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006417/9.952, allocations: 1.886 MB / 3.339 GB, free: 57.64 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.006416/9.958, allocations: 4.72 MB / 3.343 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/9.962, allocations: 0.9713 MB / 3.344 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/9.964, allocations: 0.5989 MB / 3.345 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6238/10.59, allocations: 75.91 MB / 3.419 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/10.59, allocations: 38.39 kB / 3.419 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/10.59, allocations: 3.719 kB / 3.419 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.01667/10.6, allocations: 3.138 MB / 3.422 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/10.6, allocations: 55.25 kB / 3.422 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/10.6, allocations: 142.2 kB / 3.422 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/10.61, allocations: 37.02 kB / 3.422 GB, free: 122 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/10.61, allocations: 147 kB / 3.422 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/10.61, allocations: 142.5 kB / 3.422 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/10.61, allocations: 8.875 kB / 3.422 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/10.61, allocations: 334.3 kB / 3.423 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/10.61, allocations: 0.6599 MB / 3.423 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/10.61, allocations: 0.7416 MB / 3.424 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/10.61, allocations: 0.5117 MB / 3.425 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/10.61, allocations: 0 / 3.425 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00431/10.62, allocations: 1.412 MB / 3.426 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/10.62, allocations: 6.453 kB / 3.426 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/10.62, allocations: 3.969 kB / 3.426 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/10.62, allocations: 3.938 kB / 3.426 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/10.62, allocations: 0.5916 MB / 3.427 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/10.62, allocations: 11.31 kB / 3.427 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/10.62, allocations: 360.3 kB / 3.427 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/10.63, allocations: 78.28 kB / 3.427 GB, free: 121.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.0004872/10.63, allocations: 131.5 kB / 3.427 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/10.63, allocations: 25.59 kB / 3.427 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/10.64, allocations: 6.265 MB / 3.433 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008549/10.64, allocations: 5.744 MB / 3.439 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/10.64, allocations: 0 / 3.439 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/10.64, allocations: 14.64 kB / 3.439 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/10.66, allocations: 9.575 MB / 3.448 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/10.66, allocations: 0 / 3.448 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005293/10.66, allocations: 0.595 MB / 3.449 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.252e-05/10.66, allocations: 3.875 kB / 3.449 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/10.66, allocations: 56.03 kB / 3.449 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/10.66, allocations: 3.938 kB / 3.449 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/10.66, allocations: 0 / 3.449 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/10.67, allocations: 3.138 MB / 3.452 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007843/10.67, allocations: 274 kB / 3.452 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/10.67, allocations: 15.97 kB / 3.452 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/10.68, allocations: 373.1 kB / 3.453 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/10.68, allocations: 76.38 kB / 3.453 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/10.68, allocations: 58.06 kB / 3.453 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000118/10.68, allocations: 108.3 kB / 3.453 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/10.68, allocations: 3.812 kB / 3.453 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005311/10.68, allocations: 0.9718 MB / 3.454 GB, free: 115.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse1.region3boundary,$cse2.region3boundary,$cse3.region3boundary,$cse4.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.01591/10.7, allocations: 4.686 MB / 3.458 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004571/10.7, allocations: 1.74 MB / 3.46 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/10.7, allocations: 0 / 3.46 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/10.71, allocations: 1.081 MB / 3.461 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/10.71, allocations: 97.62 kB / 3.461 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/10.72, allocations: 2.954 MB / 3.464 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/10.72, allocations: 0.9412 MB / 3.465 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003588/10.73, allocations: 1.268 MB / 3.466 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/10.73, allocations: 311 kB / 3.467 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/10.73, allocations: 0 / 3.467 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/10.86, allocations: 41.31 MB / 3.507 GB, free: 103 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/10.86, allocations: 186.7 kB / 3.507 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/15.58, allocations: 0 / 3.507 GB, free: 102.8 MB / 0.5261 GB