Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadModel(ScalableTestSuite): time 2.826/2.826, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.32e-05, allocations: 4 kB / 423.2 MB, free: 15.65 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 80 MB / 0.4914 GB, free: 15.54 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5482/0.676, allocations: 124.9 MB / 0.6134 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6763, allocations: 59.84 kB / 0.6135 GB, free: 12.42 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.05281/0.7292, allocations: 6.684 MB / 0.62 GB, free: 6.383 MB / 0.4953 GB Notification: Performance of FrontEnd: time 3.194e-06/0.7292, allocations: 3.938 kB / 0.62 GB, free: 6.379 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.2e-05/0.7293, allocations: 8 kB / 0.62 GB, free: 6.371 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.003712/0.733, allocations: 0.8292 MB / 0.6208 GB, free: 5.523 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.7331, allocations: 8.031 kB / 0.6208 GB, free: 5.516 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.7335, allocations: 47.44 kB / 0.6209 GB, free: 5.469 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.7351, allocations: 449.6 kB / 0.6213 GB, free: 5 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.7352, allocations: 32.94 kB / 0.6213 GB, free: 4.98 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.7354, allocations: 62.11 kB / 0.6214 GB, free: 4.938 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.7377, allocations: 0.5676 MB / 0.622 GB, free: 4.496 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.7378, allocations: 0 / 0.622 GB, free: 4.496 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7379, allocations: 16.56 kB / 0.622 GB, free: 4.492 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.738, allocations: 12 kB / 0.622 GB, free: 4.48 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.7403, allocations: 0.5646 MB / 0.6225 GB, free: 4.027 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.7424, allocations: 0.614 MB / 0.6231 GB, free: 3.473 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.7507, allocations: 1.327 MB / 0.6244 GB, free: 2.434 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.7525, allocations: 441.9 kB / 0.6249 GB, free: 2.121 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.753, allocations: 106.2 kB / 0.625 GB, free: 2 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.7531, allocations: 50.94 kB / 0.625 GB, free: 1.949 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=103): time 6.942e-06/0.7531, allocations: 4 kB / 0.625 GB, free: 1.945 MB / 0.4953 GB Notification: Performance of matching and sorting (n=103): time 0.004065/0.7572, allocations: 0.9517 MB / 0.6259 GB, free: 1.184 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.7573, allocations: 60.41 kB / 0.626 GB, free: 1.113 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.7576, allocations: 153.6 kB / 0.6261 GB, free: 0.9727 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.7578, allocations: 41.14 kB / 0.6262 GB, free: 0.9375 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.7579, allocations: 109.1 kB / 0.6263 GB, free: 0.8438 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.7586, allocations: 403.5 kB / 0.6267 GB, free: 0.5 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.7588, allocations: 31.19 kB / 0.6267 GB, free: 500 kB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0002888/0.7591, allocations: 371.2 kB / 0.6271 GB, free: 140 kB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.761, allocations: 471.4 kB / 0.6275 GB, free: 15.8 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.763, allocations: 487 kB / 0.628 GB, free: 15.44 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.7654, allocations: 0.5583 MB / 0.6285 GB, free: 15 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.7654, allocations: 0 / 0.6285 GB, free: 15 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005073/0.7705, allocations: 1.254 MB / 0.6297 GB, free: 14.02 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.7706, allocations: 8 kB / 0.6297 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.7707, allocations: 7.891 kB / 0.6298 GB, free: 14 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/0.7707, allocations: 4 kB / 0.6298 GB, free: 14 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.7729, allocations: 283.5 kB / 0.63 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.773, allocations: 7.984 kB / 0.63 GB, free: 13.72 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.7736, allocations: 78.06 kB / 0.6301 GB, free: 13.66 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.7738, allocations: 39.8 kB / 0.6301 GB, free: 13.63 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 (144): * Single equations (assignments): 144 * 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.0003468/0.7741, allocations: 155.9 kB / 0.6303 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.7744, allocations: 43.53 kB / 0.6303 GB, free: 13.46 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.7801, allocations: 1.375 MB / 0.6317 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/0.7802, allocations: 19.89 kB / 0.6317 GB, free: 12.4 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.7802, allocations: 0 / 0.6317 GB, free: 12.4 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/0.7803, allocations: 7.969 kB / 0.6317 GB, free: 12.39 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.7826, allocations: 0.7463 MB / 0.6324 GB, free: 11.74 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.7827, allocations: 0 / 0.6324 GB, free: 11.74 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005252/0.7879, allocations: 327.3 kB / 0.6328 GB, free: 11.43 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.384e-05/0.788, allocations: 4 kB / 0.6328 GB, free: 11.43 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003559/0.7884, allocations: 47.7 kB / 0.6328 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-05/0.7885, allocations: 7.953 kB / 0.6328 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7885, allocations: 0 / 0.6328 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006987/0.7955, allocations: 1.811 MB / 0.6346 GB, free: 9.988 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/0.7965, allocations: 247.7 kB / 0.6348 GB, free: 9.734 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.7968, allocations: 43.28 kB / 0.6349 GB, free: 9.711 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.7977, allocations: 27.5 kB / 0.6349 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.798, allocations: 84.89 kB / 0.635 GB, free: 9.629 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/0.7983, allocations: 39.73 kB / 0.635 GB, free: 9.598 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 0.000235/0.7985, allocations: 132 kB / 0.6351 GB, free: 9.48 MB / 0.5109 GB Notification: Performance of sort global known variables: time 5.097e-06/0.7985, allocations: 0 / 0.6351 GB, free: 9.48 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.001375/0.7999, allocations: 237.9 kB / 0.6354 GB, free: 9.285 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.000512/0.8005, allocations: 170.3 kB / 0.6355 GB, free: 9.129 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.004441/0.8049, allocations: 1.129 MB / 0.6366 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 7.117e-06/0.805, allocations: 0 / 0.6366 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.8074, allocations: 0.6123 MB / 0.6372 GB, free: 7.789 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.8084, allocations: 82.64 kB / 0.6373 GB, free: 7.738 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008381/0.8168, allocations: 2.812 MB / 0.64 GB, free: 5.012 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.8179, allocations: 0.9428 MB / 0.641 GB, free: 4.051 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.002499/0.8205, allocations: 372.9 kB / 0.6413 GB, free: 3.684 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/0.8213, allocations: 91.16 kB / 0.6414 GB, free: 3.602 MB / 0.5109 GB Notification: Performance of SimCode: time 2.516e-06/0.8213, allocations: 0 / 0.6414 GB, free: 3.602 MB / 0.5109 GB Notification: Performance of Templates: time 0.04148/0.8628, allocations: 8.765 MB / 0.65 GB, free: 10.84 MB / 0.5265 GB