Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.35/2.35, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.682e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4572, allocations: 60.23 MB / 391.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.31/8.768, allocations: 2.786 GB / 3.168 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/8.768, allocations: 74.02 kB / 3.168 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7285/9.496, allocations: 82.14 MB / 3.248 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.504e-06/9.497, allocations: 4 kB / 3.248 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.012e-05/9.497, allocations: 10.91 kB / 3.248 GB, free: 133.4 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005665/9.502, allocations: 1.231 MB / 3.25 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/9.502, allocations: 11.91 kB / 3.25 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/9.503, allocations: 92.89 kB / 3.25 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/9.503, allocations: 94.11 kB / 3.25 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/9.505, allocations: 0.5912 MB / 3.25 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/9.505, allocations: 32.62 kB / 3.25 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/9.505, allocations: 47.28 kB / 3.25 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/9.507, allocations: 0.8203 MB / 3.251 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/9.507, allocations: 7.609 kB / 3.251 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/9.507, allocations: 21.67 kB / 3.251 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-05/9.508, allocations: 44.83 kB / 3.251 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/9.509, allocations: 0.6059 MB / 3.252 GB, free: 132.3 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.004679/9.514, allocations: 4.049 MB / 3.256 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/9.516, allocations: 0.5513 MB / 3.256 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/9.516, allocations: 187.7 kB / 3.257 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04949/9.566, allocations: 15.22 MB / 3.271 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/9.566, allocations: 41.67 kB / 3.271 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 4.007e-06/9.566, allocations: 0 / 3.271 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.002333/9.568, allocations: 0.6478 MB / 3.272 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/9.568, allocations: 55.41 kB / 3.272 GB, free: 118 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/9.569, allocations: 409.4 kB / 3.273 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/9.569, allocations: 32.77 kB / 3.273 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/9.569, allocations: 275.8 kB / 3.273 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/9.57, allocations: 140 kB / 3.273 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/9.57, allocations: 5.625 kB / 3.273 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001173/9.57, allocations: 363.2 kB / 3.273 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/9.57, allocations: 125.9 kB / 3.273 GB, free: 117 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/9.57, allocations: 197.8 kB / 3.274 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/9.571, allocations: 159.8 kB / 3.274 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/9.571, allocations: 0 / 3.274 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001014/9.572, allocations: 431.8 kB / 3.274 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/9.572, allocations: 9.969 kB / 3.274 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/9.572, allocations: 0 / 3.274 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/9.572, allocations: 4 kB / 3.274 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/9.573, allocations: 71.83 kB / 3.274 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/9.573, allocations: 4 kB / 3.274 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/9.573, allocations: 59.22 kB / 3.274 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/9.573, allocations: 14.75 kB / 3.274 GB, free: 116.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0001387/9.573, allocations: 124.1 kB / 3.274 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/9.573, allocations: 54.03 kB / 3.275 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/9.576, allocations: 1.77 MB / 3.276 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.695e-05/9.576, allocations: 28.08 kB / 3.276 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/9.576, allocations: 7.953 kB / 3.276 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/9.576, allocations: 4 kB / 3.276 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/9.578, allocations: 0.9886 MB / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/9.578, allocations: 0 / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/9.578, allocations: 50.17 kB / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/9.578, allocations: 4 kB / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/9.578, allocations: 7.125 kB / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/9.578, allocations: 4 kB / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/9.578, allocations: 0 / 3.277 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/9.58, allocations: 0.978 MB / 3.278 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/9.58, allocations: 171.3 kB / 3.278 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/9.58, allocations: 7.875 kB / 3.278 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/9.581, allocations: 35.19 kB / 3.279 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/9.581, allocations: 23.42 kB / 3.279 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/9.581, allocations: 15.72 kB / 3.279 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005182/9.581, allocations: 324 kB / 3.279 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.4e-07/9.581, allocations: 0 / 3.279 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003088/9.584, allocations: 0.5544 MB / 3.279 GB, free: 112.9 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: 14 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * 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.006291/9.591, allocations: 2.017 MB / 3.281 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001134/9.592, allocations: 0.5342 MB / 3.282 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/9.592, allocations: 0 / 3.282 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006477/9.593, allocations: 450.3 kB / 3.282 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/9.595, allocations: 270.4 kB / 3.283 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/9.6, allocations: 1.625 MB / 3.284 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/9.601, allocations: 1.073 MB / 3.285 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009383/9.602, allocations: 273.3 kB / 3.285 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/9.603, allocations: 272.1 kB / 3.286 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/9.603, allocations: 0 / 3.286 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07715/9.68, allocations: 28.59 MB / 3.314 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/9.68, allocations: 195.5 kB / 3.314 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.661/13.34, allocations: 3.938 kB / 3.314 GB, free: 92.02 MB / 0.5105 GB