Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_160,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CocurrentHeatExchangerEquations_N_160",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.548/3.548, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.131e-05, allocations: 0 / 423.3 MB, free: 15.55 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2177, allocations: 80 MB / 0.4915 GB, free: 15.45 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7774/0.9952, allocations: 124.5 MB / 0.6131 GB, free: 12.63 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.9954, allocations: 50.47 kB / 0.6131 GB, free: 12.61 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.4909/1.486, allocations: 80.97 MB / 0.6922 GB, free: 324 kB / 0.5578 GB Notification: Performance of FrontEnd: time 2.735e-06/1.486, allocations: 0 / 0.6922 GB, free: 324 kB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0001083/1.487, allocations: 68 kB / 0.6923 GB, free: 256 kB / 0.5578 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 800 * Number of variables: 800 Notification: Performance of Generate backend data structure: time 0.09552/1.582, allocations: 19.93 MB / 0.7117 GB, free: 12.42 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/1.582, allocations: 11.88 kB / 0.7118 GB, free: 12.41 MB / 0.589 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003852/1.586, allocations: 450.6 kB / 0.7122 GB, free: 12.15 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/1.591, allocations: 344.9 kB / 0.7125 GB, free: 11.81 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/1.607, allocations: 1.906 MB / 0.7144 GB, free: 9.871 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008682/1.608, allocations: 351.6 kB / 0.7147 GB, free: 9.68 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005179/1.613, allocations: 0.7008 MB / 0.7154 GB, free: 9.191 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/1.64, allocations: 5.793 MB / 0.7211 GB, free: 4.812 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.641, allocations: 0.7656 kB / 0.7211 GB, free: 4.812 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001888/1.642, allocations: 128 kB / 0.7212 GB, free: 4.785 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.963e-05/1.643, allocations: 72 kB / 0.7212 GB, free: 4.715 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/1.664, allocations: 5.59 MB / 0.7267 GB, free: 0.7031 MB / 0.589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02997/1.694, allocations: 7.254 MB / 0.7338 GB, free: 10.61 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/1.723, allocations: 9.763 MB / 0.7433 GB, free: 4.02 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01799/1.741, allocations: 5.643 MB / 0.7488 GB, free: 0.5742 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/1.744, allocations: 82.27 kB / 0.7489 GB, free: 0.4922 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/1.744, allocations: 113.9 kB / 0.749 GB, free: 432 kB / 0.6046 GB Notification: Performance of pre-optimization done (n=799): time 1.516e-05/1.744, allocations: 4 kB / 0.749 GB, free: 428 kB / 0.6046 GB Notification: Performance of matching and sorting (n=799): time 0.04115/1.786, allocations: 9.463 MB / 0.7583 GB, free: 9.262 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/1.786, allocations: 133.7 kB / 0.7584 GB, free: 9.117 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/1.786, allocations: 269.9 kB / 0.7587 GB, free: 8.91 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 0.003669/1.79, allocations: 227.5 kB / 0.7589 GB, free: 8.836 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/1.79, allocations: 197.9 kB / 0.7591 GB, free: 8.703 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 0.006996/1.797, allocations: 3.276 MB / 0.7623 GB, free: 5.836 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/1.8, allocations: 197.9 kB / 0.7624 GB, free: 5.797 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.001082/1.801, allocations: 0.7181 MB / 0.7631 GB, free: 5.227 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01807/1.819, allocations: 4.675 MB / 0.7677 GB, free: 1.902 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01889/1.838, allocations: 4.724 MB / 0.7723 GB, free: 14.54 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02094/1.859, allocations: 5.401 MB / 0.7776 GB, free: 9.965 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-05/1.859, allocations: 0 / 0.7776 GB, free: 9.965 MB / 0.6359 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.05286/1.912, allocations: 11.76 MB / 0.7891 GB, free: 14.15 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/1.912, allocations: 7.984 kB / 0.7891 GB, free: 14.14 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/1.912, allocations: 0 / 0.7891 GB, free: 14.14 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/1.913, allocations: 40 kB / 0.7891 GB, free: 14.11 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04092/1.954, allocations: 4.375 MB / 0.7934 GB, free: 9.727 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003359/1.954, allocations: 40 kB / 0.7934 GB, free: 9.688 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/1.969, allocations: 0.953 MB / 0.7944 GB, free: 8.727 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003932/1.973, allocations: 280 kB / 0.7946 GB, free: 8.453 MB / 0.6515 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 (1277): * Single equations (assignments): 1277 * 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.005547/1.979, allocations: 0.5381 MB / 0.7952 GB, free: 7.906 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002597/1.982, allocations: 289 kB / 0.7954 GB, free: 7.621 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005055/1.987, allocations: 1.143 MB / 0.7966 GB, free: 6.473 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.614e-05/1.987, allocations: 76 kB / 0.7966 GB, free: 6.398 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/1.987, allocations: 7.938 kB / 0.7966 GB, free: 6.391 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002082/1.987, allocations: 39.84 kB / 0.7967 GB, free: 6.352 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/2.009, allocations: 5.716 MB / 0.8023 GB, free: 420 kB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/2.009, allocations: 0 / 0.8023 GB, free: 420 kB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5612/2.57, allocations: 4.385 MB / 0.8065 GB, free: 205.2 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/2.57, allocations: 29.59 kB / 0.8066 GB, free: 205.2 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004458/2.575, allocations: 352.1 kB / 0.8069 GB, free: 205.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001714/2.575, allocations: 24.28 kB / 0.8069 GB, free: 205.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.575, allocations: 1.953 kB / 0.8069 GB, free: 205.2 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06589/2.641, allocations: 15.33 MB / 0.8219 GB, free: 201.1 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008134/2.642, allocations: 414.3 kB / 0.8223 GB, free: 200.9 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004496/2.646, allocations: 313.2 kB / 0.8226 GB, free: 200.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01456/2.661, allocations: 439.7 kB / 0.823 GB, free: 200.7 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004758/2.666, allocations: 443.2 kB / 0.8234 GB, free: 200.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003817/2.669, allocations: 218.4 kB / 0.8236 GB, free: 200.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0001191/2.67, allocations: 102.7 kB / 0.8237 GB, free: 200.5 MB / 0.6515 GB Notification: Performance of sort global known variables: time 9.31e-07/2.67, allocations: 0 / 0.8237 GB, free: 200.5 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01135/2.681, allocations: 2.204 MB / 0.8259 GB, free: 200.3 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 477 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TA[21],TA[22],TA[23],TA[24],TA[25],TA[26],TA[27],TA[28],TA[29],TA[30],TA[31],TA[32],TA[33],TA[34],TA[35],TA[36],TA[37],TA[38],TA[39],TA[40],TA[41],TA[42],TA[43],TA[44],TA[45],TA[46],TA[47],TA[48],TA[49],TA[50],TA[51],TA[52],TA[53],TA[54],TA[55],TA[56],TA[57],TA[58],TA[59],TA[60],TA[61],TA[62],TA[63],TA[64],TA[65],TA[66],TA[67],TA[68],TA[69],TA[70],TA[71],TA[72],TA[73],TA[74],TA[75],TA[76],TA[77],TA[78],TA[79],TA[80],TA[81],TA[82],TA[83],TA[84],TA[85],TA[86],TA[87],TA[88],TA[89],TA[90],TA[91],TA[92],TA[93],TA[94],TA[95],TA[96],TA[97],TA[98],TA[99],TA[100],TA[101],TA[102],TA[103],TA[104],TA[105],TA[106],TA[107],TA[108],TA[109],TA[110],TA[111],TA[112],TA[113],TA[114],TA[115],TA[116],TA[117],TA[118],TA[119],TA[120],TA[121],TA[122],TA[123],TA[124],TA[125],TA[126],TA[127],TA[128],TA[129],TA[130],TA[131],TA[132],TA[133],TA[134],TA[135],TA[136],TA[137],TA[138],TA[139],TA[140],TA[141],TA[142],TA[143],TA[144],TA[145],TA[146],TA[147],TA[148],TA[149],TA[150],TA[151],TA[152],TA[153],TA[154],TA[155],TA[156],TA[157],TA[158],TA[159],TA[160],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],TB[21],TB[22],TB[23],TB[24],TB[25],TB[26],TB[27],TB[28],TB[29],TB[30],TB[31],TB[32],TB[33],TB[34],TB[35],TB[36],TB[37],TB[38],TB[39],TB[40],TB[41],TB[42],TB[43],TB[44],TB[45],TB[46],TB[47],TB[48],TB[49],TB[50],TB[51],TB[52],TB[53],TB[54],TB[55],TB[56],TB[57],TB[58],TB[59],TB[60],TB[61],TB[62],TB[63],TB[64],TB[65],TB[66],TB[67],TB[68],TB[69],TB[70],TB[71],TB[72],TB[73],TB[74],TB[75],TB[76],TB[77],TB[78],TB[79],TB[80],TB[81],TB[82],TB[83],TB[84],TB[85],TB[86],TB[87],TB[88],TB[89],TB[90],TB[91],TB[92],TB[93],TB[94],TB[95],TB[96],TB[97],TB[98],TB[99],TB[100],TB[101],TB[102],TB[103],TB[104],TB[105],TB[106],TB[107],TB[108],TB[109],TB[110],TB[111],TB[112],TB[113],TB[114],TB[115],TB[116],TB[117],TB[118],TB[119],TB[120],TB[121],TB[122],TB[123],TB[124],TB[125],TB[126],TB[127],TB[128],TB[129],TB[130],TB[131],TB[132],TB[133],TB[134],TB[135],TB[136],TB[137],TB[138],TB[139],TB[140],TB[141],TB[142],TB[143],TB[144],TB[145],TB[146],TB[147],TB[148],TB[149],TB[150],TB[151],TB[152],TB[153],TB[154],TB[155],TB[156],TB[157],TB[158],TB[159],TB[160],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39],TW[40],TW[41],TW[42],TW[43],TW[44],TW[45],TW[46],TW[47],TW[48],TW[49],TW[50],TW[51],TW[52],TW[53],TW[54],TW[55],TW[56],TW[57],TW[58],TW[59],TW[60],TW[61],TW[62],TW[63],TW[64],TW[65],TW[66],TW[67],TW[68],TW[69],TW[70],TW[71],TW[72],TW[73],TW[74],TW[75],TW[76],TW[77],TW[78],TW[79],TW[80],TW[81],TW[82],TW[83],TW[84],TW[85],TW[86],TW[87],TW[88],TW[89],TW[90],TW[91],TW[92],TW[93],TW[94],TW[95],TW[96],TW[97],TW[98],TW[99],TW[100],TW[101],TW[102],TW[103],TW[104],TW[105],TW[106],TW[107],TW[108],TW[109],TW[110],TW[111],TW[112],TW[113],TW[114],TW[115],TW[116],TW[117],TW[118],TW[119],TW[120],TW[121],TW[122],TW[123],TW[124],TW[125],TW[126],TW[127],TW[128],TW[129],TW[130],TW[131],TW[132],TW[133],TW[134],TW[135],TW[136],TW[137],TW[138],TW[139],TW[140],TW[141],TW[142],TW[143],TW[144],TW[145],TW[146],TW[147],TW[148],TW[149],TW[150],TW[151],TW[152],TW[153],TW[154],TW[155],TW[156],TW[157],TW[158],TW[159]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (799): * Single equations (assignments): 799 * 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.06366/2.745, allocations: 16.36 MB / 0.8419 GB, free: 194.4 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.03764/2.782, allocations: 10.89 MB / 0.8525 GB, free: 191.1 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.783, allocations: 0 / 0.8525 GB, free: 191.1 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0192/2.802, allocations: 5.416 MB / 0.8578 GB, free: 186.7 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009408/2.811, allocations: 0.9214 MB / 0.8587 GB, free: 186.1 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.134/2.945, allocations: 55.42 MB / 0.9128 GB, free: 140.8 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/2.948, allocations: 2.338 MB / 0.9151 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.02428/2.972, allocations: 3.34 MB / 0.9184 GB, free: 136.5 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01012/2.983, allocations: 1.371 MB / 0.9197 GB, free: 135.2 MB / 0.6515 GB Notification: Performance of SimCode: time 2.093e-06/2.983, allocations: 2.188 kB / 0.9197 GB, free: 135.2 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2775/3.26, allocations: 119.4 MB / 1.036 GB, free: 20.98 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/3.261, allocations: 202.9 kB / 1.036 GB, free: 20.75 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.357/12.62, allocations: 0 / 1.036 GB, free: 20.75 MB / 0.6515 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_160_res.mat does not exist to compare? outputFormat=mat