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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_40") Notification: Performance of loadModel(ScalableTestSuite): time 2.968/2.968, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.052e-05, allocations: 4 kB / 423.2 MB, free: 15.67 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.156, allocations: 80.01 MB / 0.4914 GB, free: 15.55 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6068/0.7628, allocations: 124.5 MB / 0.613 GB, free: 12.83 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.763, allocations: 50.66 kB / 0.6131 GB, free: 12.8 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.8846, allocations: 19.07 MB / 0.6317 GB, free: 10.99 MB / 0.5109 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8847, allocations: 0 / 0.6317 GB, free: 10.99 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 3.167e-05/0.8847, allocations: 20 kB / 0.6317 GB, free: 10.97 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.01383/0.8986, allocations: 2.699 MB / 0.6343 GB, free: 8.266 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.8986, allocations: 8.031 kB / 0.6343 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007319/0.8994, allocations: 87.25 kB / 0.6344 GB, free: 8.172 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.9028, allocations: 0.6008 MB / 0.635 GB, free: 7.535 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.903, allocations: 93.69 kB / 0.6351 GB, free: 7.48 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006145/0.9036, allocations: 171.4 kB / 0.6353 GB, free: 7.367 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.9078, allocations: 1.449 MB / 0.6367 GB, free: 6.258 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.9078, allocations: 0 / 0.6367 GB, free: 6.258 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.9081, allocations: 30.2 kB / 0.6367 GB, free: 6.254 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.9081, allocations: 20 kB / 0.6367 GB, free: 6.234 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003834/0.912, allocations: 1.342 MB / 0.638 GB, free: 5.246 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.9178, allocations: 1.834 MB / 0.6398 GB, free: 3.676 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00538/0.9233, allocations: 2.013 MB / 0.6418 GB, free: 2.336 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.9269, allocations: 1.332 MB / 0.6431 GB, free: 1.484 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/0.9274, allocations: 22 kB / 0.6431 GB, free: 1.465 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.9274, allocations: 51.25 kB / 0.6432 GB, free: 1.418 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=199): time 5.36e-06/0.9274, allocations: 7.938 kB / 0.6432 GB, free: 1.41 MB / 0.5109 GB Notification: Performance of matching and sorting (n=199): time 0.007296/0.9347, allocations: 2.323 MB / 0.6454 GB, free: 15.62 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.9349, allocations: 73.41 kB / 0.6455 GB, free: 15.54 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.9351, allocations: 144.4 kB / 0.6457 GB, free: 15.41 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0003783/0.9355, allocations: 79.33 kB / 0.6457 GB, free: 15.36 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.9356, allocations: 123.1 kB / 0.6458 GB, free: 15.25 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009226/0.9365, allocations: 0.8159 MB / 0.6466 GB, free: 14.54 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.9368, allocations: 48 kB / 0.6467 GB, free: 14.53 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.937, allocations: 417.3 kB / 0.6471 GB, free: 14.16 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/0.9404, allocations: 1.136 MB / 0.6482 GB, free: 13.34 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.9439, allocations: 1.145 MB / 0.6493 GB, free: 12.51 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/0.948, allocations: 1.311 MB / 0.6506 GB, free: 11.51 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.948, allocations: 3.953 kB / 0.6506 GB, free: 11.5 MB / 0.5265 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008652/0.9567, allocations: 2.891 MB / 0.6534 GB, free: 9.285 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.9568, allocations: 14.44 kB / 0.6534 GB, free: 9.273 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.9568, allocations: 0 / 0.6534 GB, free: 9.273 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.482e-05/0.9569, allocations: 8 kB / 0.6534 GB, free: 9.266 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009842/0.9667, allocations: 1.084 MB / 0.6545 GB, free: 8.203 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.822e-05/0.9668, allocations: 8 kB / 0.6545 GB, free: 8.195 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.9702, allocations: 244.5 kB / 0.6547 GB, free: 7.992 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/0.9706, allocations: 71.31 kB / 0.6548 GB, free: 7.941 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.0006949/0.9713, allocations: 217.9 kB / 0.655 GB, free: 7.785 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/0.9717, allocations: 75.2 kB / 0.6551 GB, free: 7.711 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008082/0.9725, allocations: 294.2 kB / 0.6554 GB, free: 7.691 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.9726, allocations: 23.98 kB / 0.6554 GB, free: 7.668 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.9726, allocations: 0 / 0.6554 GB, free: 7.668 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/0.9726, allocations: 11.95 kB / 0.6554 GB, free: 7.656 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.9762, allocations: 1.396 MB / 0.6568 GB, free: 6.469 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.9762, allocations: 4 kB / 0.6568 GB, free: 6.465 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01291/0.9891, allocations: 1.081 MB / 0.6578 GB, free: 5.402 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.815e-05/0.9892, allocations: 8 kB / 0.6578 GB, free: 5.395 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007328/0.99, allocations: 90.97 kB / 0.6579 GB, free: 5.332 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.99, allocations: 8 kB / 0.6579 GB, free: 5.324 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.99, allocations: 0 / 0.6579 GB, free: 5.324 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.001, allocations: 3.823 MB / 0.6617 GB, free: 2.484 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/1.001, allocations: 171.8 kB / 0.6618 GB, free: 2.297 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006164/1.002, allocations: 82.98 kB / 0.6619 GB, free: 2.242 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/1.005, allocations: 102.5 kB / 0.662 GB, free: 2.164 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.005, allocations: 121.4 kB / 0.6621 GB, free: 2.062 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.005, allocations: 55.59 kB / 0.6622 GB, free: 2.02 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 9.615e-05/1.006, allocations: 100.2 kB / 0.6623 GB, free: 1.926 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.435e-06/1.006, allocations: 0 / 0.6623 GB, free: 1.926 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001825/1.007, allocations: 0.5564 MB / 0.6628 GB, free: 1.434 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.0005438/1.008, allocations: 213.3 kB / 0.663 GB, free: 1.246 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.007397/1.015, allocations: 2.642 MB / 0.6656 GB, free: 15.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.015, allocations: 3.938 kB / 0.6656 GB, free: 15.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.019, allocations: 1.301 MB / 0.6669 GB, free: 14.38 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.021, allocations: 234.3 kB / 0.6671 GB, free: 14.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/1.047, allocations: 10.74 MB / 0.6776 GB, free: 3.68 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/1.048, allocations: 1.095 MB / 0.6786 GB, free: 2.559 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004611/1.053, allocations: 0.8051 MB / 0.6794 GB, free: 1.75 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.054, allocations: 91.44 kB / 0.6795 GB, free: 1.66 MB / 0.5421 GB Notification: Performance of SimCode: time 1.202e-06/1.054, allocations: 0 / 0.6795 GB, free: 1.66 MB / 0.5421 GB Notification: Performance of Templates: time 0.0533/1.108, allocations: 19.47 MB / 0.6985 GB, free: 14.19 MB / 0.5734 GB