Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.754/3.754, allocations: 403.3 MB / 415.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.359e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6415, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.825, allocations: 417.4 MB / 0.9973 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/1.825, allocations: 96.92 kB / 0.9974 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.696/5.521, allocations: 0.6463 GB / 1.644 GB, free: 30.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.814e-06/5.521, allocations: 0 / 1.644 GB, free: 30.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002851/5.521, allocations: 39.92 kB / 1.644 GB, free: 30.19 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005228/5.527, allocations: 1.73 MB / 1.645 GB, free: 28.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/5.527, allocations: 12.03 kB / 1.645 GB, free: 28.39 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/5.527, allocations: 143.6 kB / 1.646 GB, free: 28.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/5.531, allocations: 409.5 kB / 1.646 GB, free: 27.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02698/5.558, allocations: 8.142 MB / 1.654 GB, free: 19.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/5.558, allocations: 78 kB / 1.654 GB, free: 19.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/5.558, allocations: 92 kB / 1.654 GB, free: 19.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/5.561, allocations: 1.072 MB / 1.655 GB, free: 18.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/5.561, allocations: 4 kB / 1.655 GB, free: 18.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/5.561, allocations: 39.95 kB / 1.655 GB, free: 18.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/5.561, allocations: 24 kB / 1.655 GB, free: 18.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/5.563, allocations: 0.6987 MB / 1.656 GB, free: 17.48 MB / 0.7761 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.01024/5.574, allocations: 5.745 MB / 1.661 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/5.575, allocations: 0.5051 MB / 1.662 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/5.576, allocations: 243.4 kB / 1.662 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003367/5.579, allocations: 1.716 MB / 1.664 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/5.58, allocations: 389.2 kB / 1.664 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008568/5.581, allocations: 95.19 kB / 1.664 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 4.398e-06/5.581, allocations: 0 / 1.664 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=47): time 0.001938/5.583, allocations: 0.6324 MB / 1.665 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/5.583, allocations: 158.2 kB / 1.665 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/5.585, allocations: 1.133 MB / 1.666 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/5.585, allocations: 37.7 kB / 1.666 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007878/5.586, allocations: 0.6959 MB / 1.667 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/5.587, allocations: 161.7 kB / 1.667 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/5.587, allocations: 16 kB / 1.667 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/5.587, allocations: 334.1 kB / 1.667 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/5.587, allocations: 205.5 kB / 1.668 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/5.588, allocations: 0.5355 MB / 1.668 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/5.589, allocations: 322.7 kB / 1.668 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/5.589, allocations: 4 kB / 1.668 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002404/5.591, allocations: 0.9187 MB / 1.669 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.6146/6.206, allocations: 3.847 MB / 1.673 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.796e-05/6.206, allocations: 9 kB / 1.673 GB, free: 110.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/6.207, allocations: 89.22 kB / 1.673 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/6.208, allocations: 180.2 kB / 1.673 GB, free: 110.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/6.209, allocations: 1.134 MB / 1.674 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/6.211, allocations: 81.69 kB / 1.675 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/6.211, allocations: 49.56 kB / 1.675 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/6.211, allocations: 3.531 kB / 1.675 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00259/6.214, allocations: 0.7719 MB / 1.675 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/6.214, allocations: 9.781 kB / 1.675 GB, free: 109.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005049/6.214, allocations: 92.95 kB / 1.675 GB, free: 109.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/6.216, allocations: 178 kB / 1.676 GB, free: 109.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007168/6.217, allocations: 1.132 MB / 1.677 GB, free: 108.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/6.218, allocations: 80.12 kB / 1.677 GB, free: 108.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/6.218, allocations: 47.06 kB / 1.677 GB, free: 108.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003817/6.219, allocations: 190.9 kB / 1.677 GB, free: 108.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/6.219, allocations: 145.6 kB / 1.677 GB, free: 108.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/6.221, allocations: 0.7433 MB / 1.678 GB, free: 108 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/6.222, allocations: 6.312 kB / 1.678 GB, free: 108 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/6.222, allocations: 1.578 kB / 1.678 GB, free: 108 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/6.222, allocations: 3.531 kB / 1.678 GB, free: 108 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/6.227, allocations: 1.911 MB / 1.68 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/6.227, allocations: 2.625 kB / 1.68 GB, free: 107.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/6.228, allocations: 113.2 kB / 1.68 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/6.228, allocations: 75.34 kB / 1.68 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/6.228, allocations: 18.48 kB / 1.68 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007022/6.229, allocations: 1.108 MB / 1.681 GB, free: 106.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/6.229, allocations: 5.109 kB / 1.681 GB, free: 106.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/6.231, allocations: 0.8639 MB / 1.682 GB, free: 106.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/6.232, allocations: 285.2 kB / 1.682 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/6.232, allocations: 15.5 kB / 1.682 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/6.234, allocations: 84.02 kB / 1.682 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/6.234, allocations: 34 kB / 1.682 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/6.234, allocations: 35.33 kB / 1.682 GB, free: 105.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002085/6.236, allocations: 0.8748 MB / 1.683 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.783e-06/6.236, allocations: 0 / 1.683 GB, free: 105.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003601/6.24, allocations: 0.7574 MB / 1.684 GB, free: 105.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00434/6.244, allocations: 2.454 MB / 1.686 GB, free: 104.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002977/6.247, allocations: 1.159 MB / 1.687 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/6.247, allocations: 0 / 1.687 GB, free: 104.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/6.248, allocations: 349.9 kB / 1.688 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/6.253, allocations: 0.631 MB / 1.688 GB, free: 104.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/6.26, allocations: 1.975 MB / 1.69 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/6.261, allocations: 1.251 MB / 1.692 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003324/6.264, allocations: 435.6 kB / 1.692 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/6.265, allocations: 0.5145 MB / 1.692 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.303e-06/6.265, allocations: 1.25 kB / 1.692 GB, free: 103.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/6.392, allocations: 48.74 MB / 1.74 GB, free: 101.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/6.392, allocations: 263.3 kB / 1.74 GB, free: 101.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.92/11.31, allocations: 0 / 1.74 GB, free: 101.6 MB / 0.7761 GB