Running command: translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="QA.1.|QA.2.|QA.3.|QB.1.|QB.2.|QB.3.|TA.1.|TA.2.|TA.3.|TA.40.|TB.1.|TB.2.|TB.3.|TB.40.|TW.1.|TW.2.|TW.3.|der.TA.2..|der.TA.3..|der.TA.40..|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_40") Notification: Performance of loadModel(ScalableTestSuite): time 2.83/2.83, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.493e-05, allocations: 8 kB / 423.2 MB, free: 15.65 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 79.99 MB / 0.4914 GB, free: 15.54 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5039/0.6358, allocations: 124.5 MB / 0.613 GB, free: 12.86 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001292/0.636, allocations: 50.67 kB / 0.6131 GB, free: 12.84 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.09803/0.7341, allocations: 19.07 MB / 0.6317 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of FrontEnd: time 1.514e-06/0.7341, allocations: 0 / 0.6317 GB, free: 11.03 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 3.033e-05/0.7341, allocations: 16 kB / 0.6317 GB, free: 11.01 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.009118/0.7433, allocations: 2.695 MB / 0.6343 GB, free: 8.312 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7433, allocations: 8.031 kB / 0.6343 GB, free: 8.305 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.7438, allocations: 91.16 kB / 0.6344 GB, free: 8.215 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.7461, allocations: 0.6012 MB / 0.635 GB, free: 7.578 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.7462, allocations: 92.23 kB / 0.6351 GB, free: 7.523 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.7467, allocations: 173.2 kB / 0.6353 GB, free: 7.406 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.7501, allocations: 1.45 MB / 0.6367 GB, free: 6.297 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.7502, allocations: 4.594 kB / 0.6367 GB, free: 6.293 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.7504, allocations: 30.81 kB / 0.6367 GB, free: 6.289 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.7504, allocations: 23.98 kB / 0.6367 GB, free: 6.266 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.7536, allocations: 1.334 MB / 0.638 GB, free: 5.285 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.7577, allocations: 1.834 MB / 0.6398 GB, free: 3.719 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/0.7617, allocations: 2.01 MB / 0.6418 GB, free: 2.383 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.7644, allocations: 1.337 MB / 0.6431 GB, free: 1.527 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.7646, allocations: 18 kB / 0.6431 GB, free: 1.512 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.7647, allocations: 56.19 kB / 0.6432 GB, free: 1.457 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 5.355e-06/0.7647, allocations: 0 / 0.6432 GB, free: 1.457 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.006329/0.771, allocations: 2.321 MB / 0.6454 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.7711, allocations: 77.39 kB / 0.6455 GB, free: 15.58 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.7713, allocations: 148.4 kB / 0.6457 GB, free: 15.45 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.7715, allocations: 76.14 kB / 0.6457 GB, free: 15.41 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7716, allocations: 127.4 kB / 0.6459 GB, free: 15.3 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007983/0.7724, allocations: 0.8111 MB / 0.6466 GB, free: 14.59 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.7727, allocations: 46.56 kB / 0.6467 GB, free: 14.58 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.7729, allocations: 418.7 kB / 0.6471 GB, free: 14.2 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/0.7761, allocations: 1.136 MB / 0.6482 GB, free: 13.38 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.7788, allocations: 1.148 MB / 0.6493 GB, free: 12.55 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.7817, allocations: 1.31 MB / 0.6506 GB, free: 11.55 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.811e-06/0.7817, allocations: 11.89 kB / 0.6506 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007154/0.7889, allocations: 2.893 MB / 0.6534 GB, free: 9.32 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7889, allocations: 10.5 kB / 0.6534 GB, free: 9.312 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.7889, allocations: 0 / 0.6534 GB, free: 9.312 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.789, allocations: 8 kB / 0.6535 GB, free: 9.305 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006124/0.7951, allocations: 1.08 MB / 0.6545 GB, free: 8.242 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.7952, allocations: 8 kB / 0.6545 GB, free: 8.234 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.7969, allocations: 239.8 kB / 0.6547 GB, free: 8.035 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.7972, allocations: 74.56 kB / 0.6548 GB, free: 7.984 MB / 0.5265 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 (317): * Single equations (assignments): 317 * 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.0005269/0.7977, allocations: 214.6 kB / 0.655 GB, free: 7.828 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.7983, allocations: 75.2 kB / 0.6551 GB, free: 7.754 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009812/0.7993, allocations: 299.2 kB / 0.6554 GB, free: 7.734 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/0.7994, allocations: 23.98 kB / 0.6554 GB, free: 7.711 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.7994, allocations: 0 / 0.6554 GB, free: 7.711 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.7994, allocations: 11.95 kB / 0.6554 GB, free: 7.699 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.8022, allocations: 1.4 MB / 0.6568 GB, free: 6.508 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8022, allocations: 0 / 0.6568 GB, free: 6.508 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009059/0.8112, allocations: 1.084 MB / 0.6578 GB, free: 5.441 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.52e-05/0.8113, allocations: 8 kB / 0.6578 GB, free: 5.434 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003709/0.8117, allocations: 87.16 kB / 0.6579 GB, free: 5.371 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.8117, allocations: 4 kB / 0.6579 GB, free: 5.367 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-06/0.8117, allocations: 7.938 kB / 0.6579 GB, free: 5.359 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/0.8202, allocations: 3.829 MB / 0.6617 GB, free: 2.516 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.8205, allocations: 171.8 kB / 0.6618 GB, free: 2.328 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/0.8208, allocations: 75.12 kB / 0.6619 GB, free: 2.277 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.8226, allocations: 110.5 kB / 0.662 GB, free: 2.195 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.823, allocations: 117.5 kB / 0.6621 GB, free: 2.094 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/0.8233, allocations: 47.61 kB / 0.6622 GB, free: 2.059 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 9.654e-05/0.8234, allocations: 112 kB / 0.6623 GB, free: 1.957 MB / 0.5265 GB Notification: Performance of sort global known variables: time 7.85e-07/0.8234, allocations: 0 / 0.6623 GB, free: 1.957 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001387/0.8248, allocations: 0.5481 MB / 0.6628 GB, free: 1.473 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 117 (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],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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 199 * 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.0004682/0.8253, allocations: 221.8 kB / 0.663 GB, free: 1.277 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.005663/0.8309, allocations: 2.636 MB / 0.6656 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.271e-06/0.831, allocations: 0 / 0.6656 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.8337, allocations: 1.305 MB / 0.6669 GB, free: 14.41 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.835, allocations: 229.9 kB / 0.6671 GB, free: 14.24 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/0.8561, allocations: 10.75 MB / 0.6776 GB, free: 3.715 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/0.857, allocations: 1.088 MB / 0.6787 GB, free: 2.602 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00347/0.8605, allocations: 0.8051 MB / 0.6794 GB, free: 1.793 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.8616, allocations: 91.44 kB / 0.6795 GB, free: 1.703 MB / 0.5421 GB Notification: Performance of SimCode: time 1.533e-06/0.8616, allocations: 0 / 0.6795 GB, free: 1.703 MB / 0.5421 GB Notification: Performance of Templates: time 0.04703/0.9086, allocations: 19.48 MB / 0.6985 GB, free: 14.22 MB / 0.5734 GB