Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.393/2.393, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-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.4177/0.4177, allocations: 60.23 MB / 391.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.342/8.76, allocations: 2.786 GB / 3.168 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/8.76, allocations: 76.7 kB / 3.168 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6961/9.456, allocations: 79.85 MB / 3.246 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/9.456, allocations: 0 / 3.246 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.152e-05/9.457, allocations: 11.5 kB / 3.246 GB, free: 140.2 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004895/9.461, allocations: 1.12 MB / 3.247 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/9.461, allocations: 7.875 kB / 3.247 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/9.462, allocations: 86.3 kB / 3.247 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/9.462, allocations: 71.98 kB / 3.247 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/9.464, allocations: 0.5507 MB / 3.248 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/9.464, allocations: 28 kB / 3.248 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/9.464, allocations: 34.81 kB / 3.248 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/9.465, allocations: 0.6031 MB / 3.249 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/9.465, allocations: 1.688 kB / 3.249 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/9.465, allocations: 19.48 kB / 3.249 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/9.465, allocations: 20.28 kB / 3.249 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/9.467, allocations: 459.5 kB / 3.249 GB, free: 139.2 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.003183/9.47, allocations: 2.687 MB / 3.252 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/9.471, allocations: 391.2 kB / 3.252 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/9.471, allocations: 171.2 kB / 3.252 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04942/9.521, allocations: 15.21 MB / 3.267 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/9.521, allocations: 34.98 kB / 3.267 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/9.521, allocations: 0 / 3.267 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.001615/9.523, allocations: 474.1 kB / 3.268 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/9.523, allocations: 63.08 kB / 3.268 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/9.523, allocations: 358.1 kB / 3.268 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/9.523, allocations: 29.52 kB / 3.268 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/9.523, allocations: 245.1 kB / 3.268 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/9.524, allocations: 110.9 kB / 3.268 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/9.524, allocations: 4 kB / 3.268 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001032/9.524, allocations: 357.1 kB / 3.269 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/9.524, allocations: 102.2 kB / 3.269 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/9.524, allocations: 138.1 kB / 3.269 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/9.525, allocations: 126.7 kB / 3.269 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/9.525, allocations: 0 / 3.269 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007935/9.525, allocations: 341.8 kB / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/9.525, allocations: 8 kB / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/9.525, allocations: 0 / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/9.525, allocations: 4 kB / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/9.526, allocations: 44.7 kB / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/9.526, allocations: 8.125 kB / 3.269 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/9.526, allocations: 30.58 kB / 3.269 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/9.526, allocations: 9.875 kB / 3.269 GB, free: 124.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0001163/9.527, allocations: 126.9 kB / 3.27 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/9.527, allocations: 43.48 kB / 3.27 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/9.528, allocations: 1.11 MB / 3.271 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/9.528, allocations: 14.67 kB / 3.271 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/9.528, allocations: 0 / 3.271 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/9.528, allocations: 4 kB / 3.271 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/9.529, allocations: 0.715 MB / 3.271 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/9.529, allocations: 4 kB / 3.271 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/9.53, allocations: 35.98 kB / 3.271 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/9.53, allocations: 5.969 kB / 3.272 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/9.53, allocations: 6.703 kB / 3.272 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/9.53, allocations: 8 kB / 3.272 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/9.53, allocations: 0 / 3.272 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/9.531, allocations: 0.6815 MB / 3.272 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/9.531, allocations: 140.1 kB / 3.272 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/9.531, allocations: 3.062 kB / 3.272 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/9.532, allocations: 28.16 kB / 3.272 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/9.532, allocations: 23.17 kB / 3.272 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/9.532, allocations: 6.719 kB / 3.272 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004524/9.532, allocations: 294.8 kB / 3.273 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/9.532, allocations: 0 / 3.273 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002889/9.535, allocations: 0.5131 MB / 3.273 GB, free: 121.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.005357/9.54, allocations: 1.725 MB / 3.275 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008859/9.541, allocations: 382.7 kB / 3.275 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/9.541, allocations: 0 / 3.275 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/9.542, allocations: 305.5 kB / 3.275 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/9.544, allocations: 195.1 kB / 3.276 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/9.548, allocations: 1.234 MB / 3.277 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/9.548, allocations: 0.968 MB / 3.278 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006577/9.549, allocations: 183.4 kB / 3.278 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/9.549, allocations: 204.3 kB / 3.278 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.133e-06/9.549, allocations: 0 / 3.278 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/9.612, allocations: 24.58 MB / 3.302 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/9.613, allocations: 195.6 kB / 3.302 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/13.01, allocations: 0 / 3.302 GB, free: 103.9 MB / 0.5105 GB