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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") Notification: Performance of loadModel(ScalableTestSuite): time 2.969/2.969, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.19e-05, allocations: 4 kB / 423.2 MB, free: 15.67 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1777, allocations: 80.01 MB / 0.4914 GB, free: 15.55 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5962/0.774, allocations: 124.9 MB / 0.6134 GB, free: 12.55 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.7742, allocations: 62.03 kB / 0.6135 GB, free: 12.52 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.03462/0.8089, allocations: 6.682 MB / 0.62 GB, free: 6.488 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8089, allocations: 0 / 0.62 GB, free: 6.488 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.479e-05/0.809, allocations: 8 kB / 0.62 GB, free: 6.48 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.002743/0.8117, allocations: 0.8273 MB / 0.6208 GB, free: 5.633 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8118, allocations: 12.03 kB / 0.6208 GB, free: 5.621 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.8119, allocations: 47.44 kB / 0.6209 GB, free: 5.574 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.813, allocations: 449.1 kB / 0.6213 GB, free: 5.109 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.8131, allocations: 29.62 kB / 0.6213 GB, free: 5.09 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.8133, allocations: 60.06 kB / 0.6214 GB, free: 5.051 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.8148, allocations: 0.5788 MB / 0.622 GB, free: 4.598 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8148, allocations: 0 / 0.622 GB, free: 4.598 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.8149, allocations: 15.94 kB / 0.622 GB, free: 4.594 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.8149, allocations: 8 kB / 0.622 GB, free: 4.586 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.8164, allocations: 0.5745 MB / 0.6225 GB, free: 4.125 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.8177, allocations: 0.6146 MB / 0.6231 GB, free: 3.57 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006052/0.8238, allocations: 1.318 MB / 0.6244 GB, free: 2.535 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.8251, allocations: 441.1 kB / 0.6249 GB, free: 2.227 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.8254, allocations: 105.7 kB / 0.625 GB, free: 2.105 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.8255, allocations: 53.75 kB / 0.625 GB, free: 2.051 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=103): time 4.108e-06/0.8255, allocations: 4 kB / 0.625 GB, free: 2.047 MB / 0.4953 GB Notification: Performance of matching and sorting (n=103): time 0.002612/0.8281, allocations: 0.9498 MB / 0.6259 GB, free: 1.289 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.8282, allocations: 64.41 kB / 0.626 GB, free: 1.215 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.8284, allocations: 147.5 kB / 0.6261 GB, free: 1.078 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.8285, allocations: 43.14 kB / 0.6262 GB, free: 1.043 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.8286, allocations: 110.4 kB / 0.6263 GB, free: 0.9453 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.8291, allocations: 403.5 kB / 0.6267 GB, free: 0.6016 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.8292, allocations: 28 kB / 0.6267 GB, free: 0.5938 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.8294, allocations: 367.1 kB / 0.627 GB, free: 252 kB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.8306, allocations: 480.8 kB / 0.6275 GB, free: 15.9 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.8319, allocations: 486.7 kB / 0.628 GB, free: 15.54 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.8334, allocations: 0.5613 MB / 0.6285 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.8334, allocations: 0 / 0.6285 GB, free: 15.11 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003183/0.8366, allocations: 1.255 MB / 0.6297 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.8366, allocations: 4 kB / 0.6297 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8367, allocations: 3.953 kB / 0.6297 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.8367, allocations: 8 kB / 0.6298 GB, free: 14.1 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.8397, allocations: 287.2 kB / 0.63 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.8398, allocations: 4 kB / 0.63 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007316/0.8405, allocations: 78.17 kB / 0.6301 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.8406, allocations: 39.86 kB / 0.6301 GB, free: 13.73 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.0002605/0.8409, allocations: 155.4 kB / 0.6303 GB, free: 13.61 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.8411, allocations: 43.53 kB / 0.6303 GB, free: 13.56 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.8448, allocations: 1.381 MB / 0.6317 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.8449, allocations: 19.95 kB / 0.6317 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8449, allocations: 0 / 0.6317 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/0.8449, allocations: 7.969 kB / 0.6317 GB, free: 12.49 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.8465, allocations: 0.7449 MB / 0.6324 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.8465, allocations: 0 / 0.6324 GB, free: 11.84 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003982/0.8505, allocations: 319.2 kB / 0.6327 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.872e-05/0.8505, allocations: 4 kB / 0.6327 GB, free: 11.53 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.8507, allocations: 47.58 kB / 0.6328 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.298e-05/0.8507, allocations: 15.89 kB / 0.6328 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8507, allocations: 0 / 0.6328 GB, free: 11.48 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.8551, allocations: 1.809 MB / 0.6346 GB, free: 10.09 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.8557, allocations: 247.5 kB / 0.6348 GB, free: 9.836 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.8559, allocations: 43.41 kB / 0.6349 GB, free: 9.809 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.8567, allocations: 22.56 kB / 0.6349 GB, free: 9.805 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.8569, allocations: 88.89 kB / 0.635 GB, free: 9.727 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.857, allocations: 47.55 kB / 0.635 GB, free: 9.691 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 0.0001502/0.8572, allocations: 131.6 kB / 0.6351 GB, free: 9.574 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.146e-06/0.8572, allocations: 0 / 0.6351 GB, free: 9.574 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008592/0.8581, allocations: 234.6 kB / 0.6354 GB, free: 9.379 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.0003327/0.8584, allocations: 166.4 kB / 0.6355 GB, free: 9.23 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002851/0.8613, allocations: 1.128 MB / 0.6366 GB, free: 8.355 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.8613, allocations: 0 / 0.6366 GB, free: 8.355 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.8628, allocations: 0.6157 MB / 0.6372 GB, free: 7.887 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.8634, allocations: 78.83 kB / 0.6373 GB, free: 7.836 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.8699, allocations: 2.819 MB / 0.64 GB, free: 5.105 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.8706, allocations: 0.9441 MB / 0.641 GB, free: 4.145 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.001754/0.8724, allocations: 372.9 kB / 0.6413 GB, free: 3.777 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.8729, allocations: 90.34 kB / 0.6414 GB, free: 3.695 MB / 0.5109 GB Notification: Performance of SimCode: time 1.223e-06/0.873, allocations: 0 / 0.6414 GB, free: 3.695 MB / 0.5109 GB Notification: Performance of Templates: time 0.02638/0.8994, allocations: 8.757 MB / 0.65 GB, free: 10.93 MB / 0.5265 GB