Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_320,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_320",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.242/3.242, allocations: 326.3 MB / 339.3 MB, free: 7.762 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.225e-05, allocations: 4 kB / 423.3 MB, free: 12.8 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 80 MB / 0.4915 GB, free: 12.64 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6661/0.8635, allocations: 125.5 MB / 0.6141 GB, free: 4.066 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.8638, allocations: 59.97 kB / 0.6141 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.639/1.503, allocations: 135.2 MB / 0.7461 GB, free: 12.61 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.525e-06/1.503, allocations: 0 / 0.7461 GB, free: 12.61 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0002145/1.503, allocations: 108 kB / 0.7462 GB, free: 12.5 MB / 0.6359 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1603 * Number of variables: 1603 Notification: Performance of Generate backend data structure: time 0.5665/2.07, allocations: 33.12 MB / 0.7786 GB, free: 172.7 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/2.07, allocations: 13.56 kB / 0.7786 GB, free: 172.7 MB / 0.6359 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004914/2.075, allocations: 0.8489 MB / 0.7794 GB, free: 172.6 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005017/2.08, allocations: 0.6228 MB / 0.78 GB, free: 172.3 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09308/2.173, allocations: 29.21 MB / 0.8085 GB, free: 165.6 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008154/2.174, allocations: 466.2 kB / 0.809 GB, free: 165.4 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004885/2.179, allocations: 0.8932 MB / 0.8099 GB, free: 165 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/2.212, allocations: 8.565 MB / 0.8182 GB, free: 162.7 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003681/2.212, allocations: 3.938 kB / 0.8182 GB, free: 162.7 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003289/2.215, allocations: 250 kB / 0.8185 GB, free: 162.5 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/2.215, allocations: 149.6 kB / 0.8186 GB, free: 162.5 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03757/2.253, allocations: 20.76 MB / 0.8389 GB, free: 156.3 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/2.278, allocations: 8.71 MB / 0.8474 GB, free: 148.9 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1067/2.384, allocations: 26.05 MB / 0.8728 GB, free: 125.1 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02106/2.406, allocations: 6.918 MB / 0.8796 GB, free: 118.2 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/2.408, allocations: 392.5 kB / 0.88 GB, free: 117.9 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/2.408, allocations: 195.1 kB / 0.8801 GB, free: 117.7 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=1603): time 1.964e-05/2.408, allocations: 0 / 0.8801 GB, free: 117.7 MB / 0.6359 GB Notification: Performance of matching and sorting (n=1603): time 0.05407/2.462, allocations: 14.65 MB / 0.8944 GB, free: 102.9 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/2.462, allocations: 220 kB / 0.8947 GB, free: 102.7 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/2.464, allocations: 0.8387 MB / 0.8955 GB, free: 101.8 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 0.00345/2.468, allocations: 277.7 kB / 0.8957 GB, free: 101.6 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/2.468, allocations: 467.7 kB / 0.8962 GB, free: 101.1 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.008539/2.477, allocations: 6.145 MB / 0.9022 GB, free: 94.99 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004029/2.481, allocations: 348 kB / 0.9025 GB, free: 94.65 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 0.001453/2.482, allocations: 1.022 MB / 0.9035 GB, free: 93.62 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02401/2.506, allocations: 7.46 MB / 0.9108 GB, free: 86.15 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02386/2.53, allocations: 7.546 MB / 0.9182 GB, free: 78.62 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0269/2.557, allocations: 8.895 MB / 0.9269 GB, free: 69.69 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/2.557, allocations: 0 / 0.9269 GB, free: 69.69 MB / 0.6359 GB Notification: Performance of matching and sorting (n=2244) (initialization): time 0.06448/2.622, allocations: 19.41 MB / 0.9458 GB, free: 50.21 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 6.054e-05/2.622, allocations: 7.953 kB / 0.9458 GB, free: 50.21 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-05/2.622, allocations: 3.188 kB / 0.9458 GB, free: 50.21 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001842/2.622, allocations: 75.94 kB / 0.9459 GB, free: 50.13 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0768/2.699, allocations: 4.116 MB / 0.9499 GB, free: 46.01 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003977/2.699, allocations: 72 kB / 0.95 GB, free: 45.94 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05488/2.754, allocations: 1.163 MB / 0.9511 GB, free: 44.77 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004558/2.759, allocations: 0.5935 MB / 0.9517 GB, free: 44.17 MB / 0.6359 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2244): * Single equations (assignments): 2244 * Array equations: 0 * 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.007535/2.766, allocations: 0.9001 MB / 0.9526 GB, free: 43.26 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004567/2.771, allocations: 0.6218 MB / 0.9532 GB, free: 42.63 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07851/2.85, allocations: 21.14 MB / 0.9738 GB, free: 21.4 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001893/2.85, allocations: 212 kB / 0.974 GB, free: 21.2 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-05/2.85, allocations: 1.031 kB / 0.974 GB, free: 21.2 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005648/2.851, allocations: 107.6 kB / 0.9741 GB, free: 21.09 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03252/2.883, allocations: 10.69 MB / 0.9846 GB, free: 10.46 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.275e-05/2.883, allocations: 0 / 0.9846 GB, free: 10.46 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.09083/2.974, allocations: 4.652 MB / 0.9891 GB, free: 5.801 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/2.974, allocations: 75.94 kB / 0.9892 GB, free: 5.727 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005239/2.98, allocations: 0.726 MB / 0.9899 GB, free: 5 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003069/2.98, allocations: 71.98 kB / 0.99 GB, free: 4.93 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.98, allocations: 0 / 0.99 GB, free: 4.93 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5485/3.529, allocations: 27.99 MB / 1.017 GB, free: 182.2 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.012/3.541, allocations: 2.7 MB / 1.02 GB, free: 181.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005736/3.546, allocations: 0.5885 MB / 1.021 GB, free: 181.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05408/3.601, allocations: 384.8 kB / 1.021 GB, free: 181 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006978/3.608, allocations: 1.25 MB / 1.022 GB, free: 180.8 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005003/3.613, allocations: 0.6186 MB / 1.023 GB, free: 180.7 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.00142/3.614, allocations: 0.6734 MB / 1.023 GB, free: 180.4 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.022e-06/3.614, allocations: 0 / 1.023 GB, free: 180.4 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01674/3.631, allocations: 3.434 MB / 1.027 GB, free: 179.9 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 641 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],Tu[81],Tu[82],Tu[83],Tu[84],Tu[85],Tu[86],Tu[87],Tu[88],Tu[89],Tu[90],Tu[91],Tu[92],Tu[93],Tu[94],Tu[95],Tu[96],Tu[97],Tu[98],Tu[99],Tu[100],Tu[101],Tu[102],Tu[103],Tu[104],Tu[105],Tu[106],Tu[107],Tu[108],Tu[109],Tu[110],Tu[111],Tu[112],Tu[113],Tu[114],Tu[115],Tu[116],Tu[117],Tu[118],Tu[119],Tu[120],Tu[121],Tu[122],Tu[123],Tu[124],Tu[125],Tu[126],Tu[127],Tu[128],Tu[129],Tu[130],Tu[131],Tu[132],Tu[133],Tu[134],Tu[135],Tu[136],Tu[137],Tu[138],Tu[139],Tu[140],Tu[141],Tu[142],Tu[143],Tu[144],Tu[145],Tu[146],Tu[147],Tu[148],Tu[149],Tu[150],Tu[151],Tu[152],Tu[153],Tu[154],Tu[155],Tu[156],Tu[157],Tu[158],Tu[159],Tu[160],Tu[161],Tu[162],Tu[163],Tu[164],Tu[165],Tu[166],Tu[167],Tu[168],Tu[169],Tu[170],Tu[171],Tu[172],Tu[173],Tu[174],Tu[175],Tu[176],Tu[177],Tu[178],Tu[179],Tu[180],Tu[181],Tu[182],Tu[183],Tu[184],Tu[185],Tu[186],Tu[187],Tu[188],Tu[189],Tu[190],Tu[191],Tu[192],Tu[193],Tu[194],Tu[195],Tu[196],Tu[197],Tu[198],Tu[199],Tu[200],Tu[201],Tu[202],Tu[203],Tu[204],Tu[205],Tu[206],Tu[207],Tu[208],Tu[209],Tu[210],Tu[211],Tu[212],Tu[213],Tu[214],Tu[215],Tu[216],Tu[217],Tu[218],Tu[219],Tu[220],Tu[221],Tu[222],Tu[223],Tu[224],Tu[225],Tu[226],Tu[227],Tu[228],Tu[229],Tu[230],Tu[231],Tu[232],Tu[233],Tu[234],Tu[235],Tu[236],Tu[237],Tu[238],Tu[239],Tu[240],Tu[241],Tu[242],Tu[243],Tu[244],Tu[245],Tu[246],Tu[247],Tu[248],Tu[249],Tu[250],Tu[251],Tu[252],Tu[253],Tu[254],Tu[255],Tu[256],Tu[257],Tu[258],Tu[259],Tu[260],Tu[261],Tu[262],Tu[263],Tu[264],Tu[265],Tu[266],Tu[267],Tu[268],Tu[269],Tu[270],Tu[271],Tu[272],Tu[273],Tu[274],Tu[275],Tu[276],Tu[277],Tu[278],Tu[279],Tu[280],Tu[281],Tu[282],Tu[283],Tu[284],Tu[285],Tu[286],Tu[287],Tu[288],Tu[289],Tu[290],Tu[291],Tu[292],Tu[293],Tu[294],Tu[295],Tu[296],Tu[297],Tu[298],Tu[299],Tu[300],Tu[301],Tu[302],Tu[303],Tu[304],Tu[305],Tu[306],Tu[307],Tu[308],Tu[309],Tu[310],Tu[311],Tu[312],Tu[313],Tu[314],Tu[315],Tu[316],Tu[317],Tu[318],Tu[319],Tu[320],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],x[101],x[102],x[103],x[104],x[105],x[106],x[107],x[108],x[109],x[110],x[111],x[112],x[113],x[114],x[115],x[116],x[117],x[118],x[119],x[120],x[121],x[122],x[123],x[124],x[125],x[126],x[127],x[128],x[129],x[130],x[131],x[132],x[133],x[134],x[135],x[136],x[137],x[138],x[139],x[140],x[141],x[142],x[143],x[144],x[145],x[146],x[147],x[148],x[149],x[150],x[151],x[152],x[153],x[154],x[155],x[156],x[157],x[158],x[159],x[160],x[161],x[162],x[163],x[164],x[165],x[166],x[167],x[168],x[169],x[170],x[171],x[172],x[173],x[174],x[175],x[176],x[177],x[178],x[179],x[180],x[181],x[182],x[183],x[184],x[185],x[186],x[187],x[188],x[189],x[190],x[191],x[192],x[193],x[194],x[195],x[196],x[197],x[198],x[199],x[200],x[201],x[202],x[203],x[204],x[205],x[206],x[207],x[208],x[209],x[210],x[211],x[212],x[213],x[214],x[215],x[216],x[217],x[218],x[219],x[220],x[221],x[222],x[223],x[224],x[225],x[226],x[227],x[228],x[229],x[230],x[231],x[232],x[233],x[234],x[235],x[236],x[237],x[238],x[239],x[240],x[241],x[242],x[243],x[244],x[245],x[246],x[247],x[248],x[249],x[250],x[251],x[252],x[253],x[254],x[255],x[256],x[257],x[258],x[259],x[260],x[261],x[262],x[263],x[264],x[265],x[266],x[267],x[268],x[269],x[270],x[271],x[272],x[273],x[274],x[275],x[276],x[277],x[278],x[279],x[280],x[281],x[282],x[283],x[284],x[285],x[286],x[287],x[288],x[289],x[290],x[291],x[292],x[293],x[294],x[295],x[296],x[297],x[298],x[299],x[300],x[301],x[302],x[303],x[304],x[305],x[306],x[307],x[308],x[309],x[310],x[311],x[312],x[313],x[314],x[315],x[316],x[317],x[318],x[319],x[320]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2244): * Single equations (assignments): 2244 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.09502/3.726, allocations: 29.54 MB / 1.056 GB, free: 170.2 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.05572/3.782, allocations: 17.94 MB / 1.073 GB, free: 165.4 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/3.782, allocations: 0 / 1.073 GB, free: 165.4 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.03062/3.812, allocations: 9.791 MB / 1.083 GB, free: 160.9 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/3.823, allocations: 1.156 MB / 1.084 GB, free: 160 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1214/3.944, allocations: 60.29 MB / 1.143 GB, free: 107.1 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006476/3.951, allocations: 4.681 MB / 1.147 GB, free: 103.7 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.03438/3.985, allocations: 6.017 MB / 1.153 GB, free: 99.15 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01753/4.003, allocations: 4.142 MB / 1.157 GB, free: 95.36 MB / 0.6515 GB Notification: Performance of SimCode: time 2.064e-06/4.003, allocations: 0 / 1.157 GB, free: 95.36 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9662/4.969, allocations: 211.9 MB / 1.364 GB, free: 123.8 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/4.969, allocations: 199.9 kB / 1.364 GB, free: 123.6 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/23.25, allocations: 0 / 1.364 GB, free: 123.6 MB / 0.6515 GB