Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_160",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.431/3.431, allocations: 326.3 MB / 339.3 MB, free: 11.18 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.561e-05, allocations: 11.98 kB / 423.3 MB, free: 15.54 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1943, allocations: 79.99 MB / 0.4915 GB, free: 15.45 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6788/0.8732, allocations: 124.9 MB / 0.6135 GB, free: 12.11 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.8735, allocations: 60.53 kB / 0.6136 GB, free: 12.07 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.2858/1.159, allocations: 55.02 MB / 0.6673 GB, free: 8.895 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.244e-06/1.159, allocations: 0 / 0.6673 GB, free: 8.895 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0001173/1.16, allocations: 59.94 kB / 0.6674 GB, free: 8.836 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.04338/1.203, allocations: 10.09 MB / 0.6772 GB, free: 14.85 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.203, allocations: 12.03 kB / 0.6772 GB, free: 14.84 MB / 0.5578 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002512/1.206, allocations: 449.9 kB / 0.6777 GB, free: 14.59 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.208, allocations: 320.3 kB / 0.678 GB, free: 14.27 MB / 0.5578 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02911/1.237, allocations: 8.058 MB / 0.6858 GB, free: 6.23 MB / 0.5578 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/1.238, allocations: 233 kB / 0.6861 GB, free: 6.102 MB / 0.5578 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/1.241, allocations: 464.3 kB / 0.6865 GB, free: 5.785 MB / 0.5578 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/1.259, allocations: 4.293 MB / 0.6907 GB, free: 2.527 MB / 0.5578 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/1.259, allocations: 0 / 0.6907 GB, free: 2.527 MB / 0.5578 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/1.262, allocations: 127.1 kB / 0.6908 GB, free: 2.504 MB / 0.5578 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.262, allocations: 76 kB / 0.6909 GB, free: 2.43 MB / 0.5578 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/1.281, allocations: 7.246 MB / 0.698 GB, free: 12.11 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/1.295, allocations: 4.132 MB / 0.702 GB, free: 8.691 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.056/1.351, allocations: 11.82 MB / 0.7135 GB, free: 15.55 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01129/1.362, allocations: 3.44 MB / 0.7169 GB, free: 13.17 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.363, allocations: 244.5 kB / 0.7171 GB, free: 12.93 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/1.364, allocations: 110.7 kB / 0.7172 GB, free: 12.86 MB / 0.589 GB Notification: Performance of pre-optimization done (n=803): time 1.175e-05/1.364, allocations: 4 kB / 0.7172 GB, free: 12.86 MB / 0.589 GB Notification: Performance of matching and sorting (n=803): time 0.03023/1.394, allocations: 7.328 MB / 0.7244 GB, free: 7.074 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/1.394, allocations: 133.7 kB / 0.7245 GB, free: 6.93 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009875/1.395, allocations: 491.9 kB / 0.725 GB, free: 6.512 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.001868/1.397, allocations: 157 kB / 0.7251 GB, free: 6.453 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.397, allocations: 267.1 kB / 0.7254 GB, free: 6.309 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.005354/1.403, allocations: 3.079 MB / 0.7284 GB, free: 3.625 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/1.405, allocations: 182.3 kB / 0.7286 GB, free: 3.586 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.001048/1.406, allocations: 0.7174 MB / 0.7293 GB, free: 3.012 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01305/1.419, allocations: 3.722 MB / 0.7329 GB, free: 264 kB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/1.433, allocations: 3.766 MB / 0.7366 GB, free: 13.47 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.448, allocations: 4.441 MB / 0.7409 GB, free: 10 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.403e-05/1.448, allocations: 0 / 0.7409 GB, free: 10 MB / 0.6046 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03685/1.485, allocations: 9.711 MB / 0.7504 GB, free: 2.438 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/1.485, allocations: 7.953 kB / 0.7504 GB, free: 2.43 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.485, allocations: 0 / 0.7504 GB, free: 2.43 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/1.485, allocations: 36 kB / 0.7505 GB, free: 2.395 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06115/1.546, allocations: 2.155 MB / 0.7526 GB, free: 312 kB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002328/1.547, allocations: 36 kB / 0.7526 GB, free: 276 kB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008024/1.555, allocations: 0.5664 MB / 0.7531 GB, free: 15.83 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002665/1.557, allocations: 309.3 kB / 0.7534 GB, free: 15.59 MB / 0.6203 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 (1124): * Single equations (assignments): 1124 * 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.004682/1.562, allocations: 0.4977 MB / 0.7539 GB, free: 15.32 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002597/1.565, allocations: 320.3 kB / 0.7542 GB, free: 15.01 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0444/1.609, allocations: 10.59 MB / 0.7646 GB, free: 7.074 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001393/1.609, allocations: 115.9 kB / 0.7647 GB, free: 6.961 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/1.609, allocations: 0 / 0.7647 GB, free: 6.961 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003609/1.61, allocations: 55.78 kB / 0.7647 GB, free: 6.906 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/1.627, allocations: 5.127 MB / 0.7697 GB, free: 1.633 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.162e-05/1.627, allocations: 0 / 0.7697 GB, free: 1.633 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.06896/1.696, allocations: 2.415 MB / 0.7721 GB, free: 15.21 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/1.696, allocations: 32 kB / 0.7721 GB, free: 15.18 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002793/1.699, allocations: 379.7 kB / 0.7725 GB, free: 14.81 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001596/1.7, allocations: 39.94 kB / 0.7725 GB, free: 14.77 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.7, allocations: 0 / 0.7725 GB, free: 14.77 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05099/1.751, allocations: 13.99 MB / 0.7862 GB, free: 0.6406 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006243/1.757, allocations: 1.387 MB / 0.7875 GB, free: 15.23 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003093/1.76, allocations: 307.8 kB / 0.7878 GB, free: 14.93 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007574/1.768, allocations: 180 kB / 0.788 GB, free: 14.75 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00308/1.771, allocations: 0.621 MB / 0.7886 GB, free: 14.12 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002483/1.773, allocations: 323.9 kB / 0.7889 GB, free: 13.81 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0007884/1.774, allocations: 399.1 kB / 0.7893 GB, free: 13.43 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.495e-06/1.774, allocations: 0 / 0.7893 GB, free: 13.43 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.008318/1.783, allocations: 1.73 MB / 0.791 GB, free: 11.7 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 321 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1124): * Single equations (assignments): 1124 * 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.4948/2.277, allocations: 15.03 MB / 0.8057 GB, free: 218.7 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.03166/2.309, allocations: 8.948 MB / 0.8144 GB, free: 216.5 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.309, allocations: 0 / 0.8144 GB, free: 216.5 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/2.325, allocations: 4.886 MB / 0.8192 GB, free: 215.1 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/2.33, allocations: 0.583 MB / 0.8198 GB, free: 214.9 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06122/2.391, allocations: 26.89 MB / 0.846 GB, free: 203.9 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/2.395, allocations: 2.679 MB / 0.8486 GB, free: 203.1 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01836/2.413, allocations: 3.054 MB / 0.8516 GB, free: 202 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008393/2.422, allocations: 1.984 MB / 0.8536 GB, free: 200.2 MB / 0.6515 GB Notification: Performance of SimCode: time 2.194e-06/2.422, allocations: 0 / 0.8536 GB, free: 200.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/2.717, allocations: 110.9 MB / 0.9618 GB, free: 96.88 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/2.718, allocations: 193.8 kB / 0.962 GB, free: 96.65 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.122/11.84, allocations: 0 / 0.962 GB, free: 96.65 MB / 0.6515 GB