Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") Notification: Performance of loadModel(ScalableTestSuite): time 2.878/2.878, allocations: 326.3 MB / 339.3 MB, free: 11.26 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.032e-05, allocations: 0 / 423.2 MB, free: 15.67 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 80 MB / 0.4914 GB, free: 15.56 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/0.6964, allocations: 124.9 MB / 0.6134 GB, free: 12.38 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.6967, allocations: 66.64 kB / 0.6135 GB, free: 12.35 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.8054, allocations: 12.33 MB / 0.6255 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.842e-06/0.8054, allocations: 3.938 kB / 0.6255 GB, free: 1.113 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.8055, allocations: 16 kB / 0.6256 GB, free: 1.098 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004201/0.8097, allocations: 1.526 MB / 0.627 GB, free: 15.57 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.8097, allocations: 8.031 kB / 0.6271 GB, free: 15.56 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.8101, allocations: 85.47 kB / 0.6271 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.8123, allocations: 0.9086 MB / 0.628 GB, free: 14.55 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.8123, allocations: 61.75 kB / 0.6281 GB, free: 14.51 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/0.8127, allocations: 112.6 kB / 0.6282 GB, free: 14.43 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.8152, allocations: 1.1 MB / 0.6293 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.8153, allocations: 0 / 0.6293 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.8154, allocations: 37.56 kB / 0.6293 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.8155, allocations: 20 kB / 0.6293 GB, free: 13.56 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.8184, allocations: 1.227 MB / 0.6305 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.8206, allocations: 1.085 MB / 0.6316 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00871/0.8294, allocations: 2.707 MB / 0.6342 GB, free: 9.559 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.8314, allocations: 0.8674 MB / 0.6351 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.8317, allocations: 127 kB / 0.6352 GB, free: 8.809 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.8318, allocations: 63.56 kB / 0.6352 GB, free: 8.754 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=203): time 5.24e-06/0.8318, allocations: 0 / 0.6352 GB, free: 8.754 MB / 0.5109 GB Notification: Performance of matching and sorting (n=203): time 0.004395/0.8362, allocations: 1.858 MB / 0.6371 GB, free: 7.277 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.8363, allocations: 73.41 kB / 0.6371 GB, free: 7.191 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.8366, allocations: 204.4 kB / 0.6373 GB, free: 7.012 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.8368, allocations: 56.58 kB / 0.6374 GB, free: 6.973 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.8369, allocations: 137.5 kB / 0.6375 GB, free: 6.867 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/0.8377, allocations: 0.7812 MB / 0.6383 GB, free: 6.184 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.8379, allocations: 46.81 kB / 0.6383 GB, free: 6.176 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0002566/0.8382, allocations: 416.8 kB / 0.6387 GB, free: 5.801 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.8402, allocations: 0.9357 MB / 0.6396 GB, free: 5.102 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.8423, allocations: 0.9387 MB / 0.6405 GB, free: 4.398 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.8447, allocations: 1.108 MB / 0.6416 GB, free: 3.516 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.784e-06/0.8447, allocations: 0 / 0.6416 GB, free: 3.516 MB / 0.5109 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005287/0.85, allocations: 2.451 MB / 0.644 GB, free: 1.566 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.85, allocations: 12 kB / 0.644 GB, free: 1.555 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.8501, allocations: 3.953 kB / 0.644 GB, free: 1.551 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/0.8501, allocations: 8 kB / 0.644 GB, free: 1.543 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.8544, allocations: 0.5454 MB / 0.6446 GB, free: 1.016 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.092e-05/0.8544, allocations: 12 kB / 0.6446 GB, free: 1.004 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/0.8554, allocations: 141.2 kB / 0.6447 GB, free: 0.8984 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.8556, allocations: 82.78 kB / 0.6448 GB, free: 0.8359 MB / 0.5109 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 (284): * Single equations (assignments): 284 * 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.0004235/0.8561, allocations: 210.2 kB / 0.645 GB, free: 0.6836 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.8564, allocations: 86.97 kB / 0.6451 GB, free: 0.5977 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/0.8625, allocations: 2.679 MB / 0.6477 GB, free: 14.55 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/0.8625, allocations: 31.95 kB / 0.6477 GB, free: 14.52 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.8625, allocations: 0 / 0.6477 GB, free: 14.52 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.8626, allocations: 11.95 kB / 0.6477 GB, free: 14.51 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.865, allocations: 1.339 MB / 0.6491 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.522e-06/0.865, allocations: 0 / 0.6491 GB, free: 13.39 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005515/0.8706, allocations: 0.6153 MB / 0.6497 GB, free: 12.79 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.093e-05/0.8706, allocations: 8 kB / 0.6497 GB, free: 12.79 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/0.8709, allocations: 94.42 kB / 0.6498 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/0.8709, allocations: 11.95 kB / 0.6498 GB, free: 12.71 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8709, allocations: 0 / 0.6498 GB, free: 12.71 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007319/0.8783, allocations: 3.542 MB / 0.6532 GB, free: 9.965 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/0.8792, allocations: 414.2 kB / 0.6536 GB, free: 9.559 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.8796, allocations: 82.75 kB / 0.6537 GB, free: 9.512 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008193/0.8804, allocations: 46.75 kB / 0.6537 GB, free: 9.504 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.8808, allocations: 173.4 kB / 0.6539 GB, free: 9.348 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.881, allocations: 74.3 kB / 0.654 GB, free: 9.293 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002127/0.8812, allocations: 176 kB / 0.6541 GB, free: 9.141 MB / 0.5265 GB Notification: Performance of sort global known variables: time 8.52e-07/0.8813, allocations: 0 / 0.6541 GB, free: 9.141 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001192/0.8825, allocations: 457.6 kB / 0.6546 GB, free: 8.762 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 284 * 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.0004459/0.8829, allocations: 223.1 kB / 0.6548 GB, free: 8.574 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.004763/0.8877, allocations: 2.234 MB / 0.657 GB, free: 6.836 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 4.02e-06/0.8877, allocations: 0 / 0.657 GB, free: 6.836 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.8903, allocations: 1.219 MB / 0.6582 GB, free: 5.902 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.8914, allocations: 153.5 kB / 0.6583 GB, free: 5.809 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.9019, allocations: 5.544 MB / 0.6637 GB, free: 480 kB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.903, allocations: 1.174 MB / 0.6649 GB, free: 15.27 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002707/0.9057, allocations: 0.7475 MB / 0.6656 GB, free: 14.52 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/0.9066, allocations: 166.8 kB / 0.6658 GB, free: 14.37 MB / 0.5421 GB Notification: Performance of SimCode: time 1.674e-06/0.9067, allocations: 0 / 0.6658 GB, free: 14.37 MB / 0.5421 GB Notification: Performance of Templates: time 0.04286/0.9495, allocations: 16.94 MB / 0.6823 GB, free: 13.42 MB / 0.5578 GB