Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.160.|TA.1.|TA.2.|TA.3.|TB.160.|TB.1.|TB.2.|TB.3.|TW.1.|TW.2.|TW.3.|der.TA.160..|der.TA.2..|der.TA.3..|der.TB.1..|der.TB.2..|der.TB.3..|der.TW.1..|der.TW.2..|der.TW.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_160") Notification: Performance of loadModel(ScalableTestSuite): time 2.816/2.816, allocations: 326.3 MB / 339.3 MB, free: 7.668 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.424e-05, allocations: 4 kB / 423.2 MB, free: 12.9 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 80 MB / 0.4914 GB, free: 12.73 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/0.6297, allocations: 125 MB / 0.6135 GB, free: 4.691 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001398/0.6299, allocations: 47.98 kB / 0.6136 GB, free: 4.645 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.4085/1.038, allocations: 84.34 MB / 0.696 GB, free: 152 kB / 0.5734 GB Notification: Performance of FrontEnd: time 1.973e-06/1.038, allocations: 4 kB / 0.696 GB, free: 148 kB / 0.5734 GB Notification: Performance of Transformations before backend: time 0.0001038/1.039, allocations: 68 kB / 0.696 GB, free: 80 kB / 0.5734 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.0592/1.098, allocations: 19.92 MB / 0.7155 GB, free: 12.08 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.098, allocations: 8.031 kB / 0.7155 GB, free: 12.07 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/1.1, allocations: 348.9 kB / 0.7158 GB, free: 11.73 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009196/1.11, allocations: 1.91 MB / 0.7177 GB, free: 9.773 MB / 0.6046 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/1.11, allocations: 354.3 kB / 0.718 GB, free: 9.426 MB / 0.6046 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.113, allocations: 0.6935 MB / 0.7187 GB, free: 8.73 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/1.131, allocations: 5.797 MB / 0.7244 GB, free: 2.902 MB / 0.6046 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.203e-05/1.131, allocations: 4.75 kB / 0.7244 GB, free: 2.898 MB / 0.6046 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008672/1.132, allocations: 124 kB / 0.7245 GB, free: 2.777 MB / 0.6046 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.756e-05/1.132, allocations: 79.94 kB / 0.7246 GB, free: 2.699 MB / 0.6046 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/1.147, allocations: 5.506 MB / 0.7299 GB, free: 13.19 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/1.167, allocations: 7.25 MB / 0.737 GB, free: 5.711 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/1.191, allocations: 9.661 MB / 0.7464 GB, free: 12.04 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01392/1.205, allocations: 5.561 MB / 0.7519 GB, free: 6.457 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/1.206, allocations: 82.27 kB / 0.752 GB, free: 6.375 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.206, allocations: 116.8 kB / 0.7521 GB, free: 6.25 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=799): time 1.504e-05/1.206, allocations: 0 / 0.7521 GB, free: 6.25 MB / 0.6359 GB Notification: Performance of matching and sorting (n=799): time 0.3576/1.564, allocations: 9.365 MB / 0.7612 GB, free: 186.8 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.564, allocations: 137.6 kB / 0.7613 GB, free: 186.7 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/1.565, allocations: 258.1 kB / 0.7616 GB, free: 186.5 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 0.001988/1.567, allocations: 226.3 kB / 0.7618 GB, free: 186.3 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/1.567, allocations: 198.7 kB / 0.762 GB, free: 186.2 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.004106/1.571, allocations: 3.282 MB / 0.7652 GB, free: 183.8 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/1.572, allocations: 200.6 kB / 0.7654 GB, free: 183.6 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 0.0007397/1.573, allocations: 0.716 MB / 0.7661 GB, free: 183.1 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01293/1.586, allocations: 4.651 MB / 0.7706 GB, free: 181.8 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/1.6, allocations: 4.7 MB / 0.7752 GB, free: 180.4 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/1.615, allocations: 5.374 MB / 0.7805 GB, free: 178.8 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-05/1.615, allocations: 0 / 0.7805 GB, free: 178.8 MB / 0.6359 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03057/1.645, allocations: 11.71 MB / 0.7919 GB, free: 175.4 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/1.646, allocations: 3.906 kB / 0.7919 GB, free: 175.4 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.646, allocations: 3.656 kB / 0.7919 GB, free: 175.4 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-05/1.646, allocations: 38.81 kB / 0.7919 GB, free: 175.4 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02631/1.672, allocations: 4.378 MB / 0.7962 GB, free: 175.2 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001648/1.672, allocations: 41.88 kB / 0.7963 GB, free: 175.2 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008379/1.681, allocations: 0.953 MB / 0.7972 GB, free: 174.7 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.682, allocations: 280 kB / 0.7975 GB, free: 174.6 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 (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.001959/1.684, allocations: 0.5353 MB / 0.798 GB, free: 174.1 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.685, allocations: 286.5 kB / 0.7983 GB, free: 174 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/1.688, allocations: 1.15 MB / 0.7994 GB, free: 172.8 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-05/1.688, allocations: 73.12 kB / 0.7995 GB, free: 172.8 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.223e-05/1.688, allocations: 0 / 0.7995 GB, free: 172.8 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.724e-05/1.688, allocations: 37.55 kB / 0.7995 GB, free: 172.8 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.7, allocations: 5.705 MB / 0.8051 GB, free: 170.5 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.7, allocations: 3.938 kB / 0.8051 GB, free: 170.5 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03462/1.735, allocations: 4.389 MB / 0.8093 GB, free: 170.4 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/1.735, allocations: 31.02 kB / 0.8094 GB, free: 170.4 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002434/1.737, allocations: 355.5 kB / 0.8097 GB, free: 170.3 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.913e-05/1.737, allocations: 23.22 kB / 0.8097 GB, free: 170.3 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.072e-06/1.737, allocations: 0.875 kB / 0.8097 GB, free: 170.3 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03894/1.776, allocations: 15.28 MB / 0.8247 GB, free: 162.2 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/1.777, allocations: 420.2 kB / 0.8251 GB, free: 161.8 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002572/1.78, allocations: 318.5 kB / 0.8254 GB, free: 161.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006923/1.786, allocations: 445 kB / 0.8258 GB, free: 161.3 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/1.788, allocations: 445.5 kB / 0.8262 GB, free: 161.1 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009828/1.789, allocations: 210.5 kB / 0.8264 GB, free: 160.9 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 7.963e-05/1.789, allocations: 100.4 kB / 0.8265 GB, free: 160.8 MB / 0.6359 GB Notification: Performance of sort global known variables: time 7.75e-07/1.789, allocations: 0 / 0.8265 GB, free: 160.8 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.004435/1.794, allocations: 2.204 MB / 0.8287 GB, free: 158.6 MB / 0.6359 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[1],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],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.001322/1.795, allocations: 0.564 MB / 0.8292 GB, free: 158.1 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.02483/1.82, allocations: 10.82 MB / 0.8398 GB, free: 148.2 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 5.984e-06/1.82, allocations: 3.094 kB / 0.8398 GB, free: 148.2 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.01231/1.832, allocations: 5.347 MB / 0.845 GB, free: 143.3 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.837, allocations: 0.9203 MB / 0.8459 GB, free: 142.7 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.088/1.925, allocations: 47.77 MB / 0.8926 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/1.928, allocations: 2.343 MB / 0.8948 GB, free: 102.7 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0159/1.944, allocations: 3.335 MB / 0.8981 GB, free: 100.3 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006088/1.95, allocations: 347.4 kB / 0.8984 GB, free: 99.93 MB / 0.6359 GB Notification: Performance of SimCode: time 1.855e-06/1.95, allocations: 0 / 0.8984 GB, free: 99.93 MB / 0.6359 GB Notification: Performance of Templates: time 0.155/2.105, allocations: 78.24 MB / 0.9748 GB, free: 24.12 MB / 0.6359 GB