Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.645/3.645, allocations: 326.3 MB / 339.3 MB, free: 11.26 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.267e-05/4.284e-05, allocations: 4 kB / 423.3 MB, free: 15.57 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2106, allocations: 79.99 MB / 0.4915 GB, free: 15.46 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/0.9558, allocations: 124.9 MB / 0.6135 GB, free: 12.48 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.9562, allocations: 63.28 kB / 0.6136 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1348/1.091, allocations: 24.91 MB / 0.6379 GB, free: 5.555 MB / 0.5109 GB Notification: Performance of FrontEnd: time 3.106e-06/1.091, allocations: 0 / 0.6379 GB, free: 5.555 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 6.592e-05/1.091, allocations: 28 kB / 0.6379 GB, free: 5.527 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.01647/1.108, allocations: 3.557 MB / 0.6414 GB, free: 2.004 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/1.108, allocations: 12.03 kB / 0.6414 GB, free: 1.992 MB / 0.5109 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/1.109, allocations: 240 kB / 0.6416 GB, free: 1.844 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/1.11, allocations: 162.1 kB / 0.6418 GB, free: 1.684 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009424/1.119, allocations: 2.456 MB / 0.6442 GB, free: 15.23 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/1.12, allocations: 121.5 kB / 0.6443 GB, free: 15.16 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/1.121, allocations: 232.2 kB / 0.6445 GB, free: 15 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008727/1.13, allocations: 2.157 MB / 0.6466 GB, free: 13.35 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/1.13, allocations: 0 / 0.6466 GB, free: 13.35 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/1.13, allocations: 67.69 kB / 0.6467 GB, free: 13.34 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/1.13, allocations: 36 kB / 0.6467 GB, free: 13.3 MB / 0.5265 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009155/1.139, allocations: 2.84 MB / 0.6495 GB, free: 10.92 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007034/1.146, allocations: 2.072 MB / 0.6515 GB, free: 9.215 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02818/1.175, allocations: 5.582 MB / 0.657 GB, free: 4.941 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006068/1.181, allocations: 1.718 MB / 0.6587 GB, free: 3.742 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/1.182, allocations: 163.9 kB / 0.6588 GB, free: 3.57 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.155e-05/1.182, allocations: 76.86 kB / 0.6589 GB, free: 3.512 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=403): time 7.895e-06/1.182, allocations: 0 / 0.6589 GB, free: 3.512 MB / 0.5265 GB Notification: Performance of matching and sorting (n=403): time 0.01354/1.195, allocations: 3.68 MB / 0.6625 GB, free: 0.5938 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.195, allocations: 98.56 kB / 0.6626 GB, free: 496 kB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/1.196, allocations: 294.2 kB / 0.6629 GB, free: 240 kB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0009253/1.197, allocations: 87.64 kB / 0.663 GB, free: 196 kB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.197, allocations: 174.8 kB / 0.6631 GB, free: 80 kB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.002816/1.2, allocations: 1.551 MB / 0.6646 GB, free: 14.73 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/1.201, allocations: 85.56 kB / 0.6647 GB, free: 14.71 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.000516/1.201, allocations: 0.5162 MB / 0.6652 GB, free: 14.27 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006608/1.208, allocations: 1.857 MB / 0.667 GB, free: 12.89 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007155/1.215, allocations: 1.881 MB / 0.6689 GB, free: 11.48 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/1.223, allocations: 2.218 MB / 0.671 GB, free: 9.719 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/1.223, allocations: 0 / 0.671 GB, free: 9.719 MB / 0.5421 GB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01767/1.241, allocations: 4.867 MB / 0.6758 GB, free: 5.867 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/1.241, allocations: 15.89 kB / 0.6758 GB, free: 5.852 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.241, allocations: 0 / 0.6758 GB, free: 5.852 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.073e-05/1.241, allocations: 16 kB / 0.6758 GB, free: 5.836 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02055/1.261, allocations: 1.079 MB / 0.6769 GB, free: 4.789 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/1.262, allocations: 23.94 kB / 0.6769 GB, free: 4.766 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.266, allocations: 298 kB / 0.6772 GB, free: 4.543 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007786/1.266, allocations: 152.7 kB / 0.6773 GB, free: 4.426 MB / 0.5421 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 (564): * Single equations (assignments): 564 * 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.001021/1.267, allocations: 311.7 kB / 0.6776 GB, free: 4.234 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/1.268, allocations: 166.1 kB / 0.6778 GB, free: 4.07 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/1.287, allocations: 5.305 MB / 0.683 GB, free: 32 kB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/1.287, allocations: 55.98 kB / 0.683 GB, free: 15.98 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/1.287, allocations: 4 kB / 0.683 GB, free: 15.97 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001494/1.287, allocations: 27.91 kB / 0.683 GB, free: 15.95 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/1.295, allocations: 2.567 MB / 0.6856 GB, free: 13.86 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/1.295, allocations: 0 / 0.6856 GB, free: 13.86 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02501/1.32, allocations: 1.22 MB / 0.6867 GB, free: 12.68 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/1.321, allocations: 20 kB / 0.6868 GB, free: 12.66 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/1.322, allocations: 185.3 kB / 0.6869 GB, free: 12.55 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.968e-05/1.322, allocations: 23.95 kB / 0.687 GB, free: 12.53 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.322, allocations: 0 / 0.687 GB, free: 12.53 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/1.345, allocations: 7.013 MB / 0.6938 GB, free: 7.109 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003159/1.348, allocations: 0.737 MB / 0.6945 GB, free: 6.387 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.349, allocations: 156.4 kB / 0.6947 GB, free: 6.305 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.353, allocations: 84.88 kB / 0.6948 GB, free: 6.289 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009482/1.354, allocations: 329.9 kB / 0.6951 GB, free: 6 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005099/1.354, allocations: 158.5 kB / 0.6952 GB, free: 5.879 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.0004887/1.355, allocations: 244.6 kB / 0.6955 GB, free: 5.672 MB / 0.5578 GB Notification: Performance of sort global known variables: time 5.71e-07/1.355, allocations: 0 / 0.6955 GB, free: 5.672 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.003658/1.358, allocations: 0.876 MB / 0.6963 GB, free: 4.934 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 161 (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],Tu[41],Tu[42],Tu[43],Tu[44],Tu[45],Tu[46],Tu[47],Tu[48],Tu[49],Tu[50],Tu[51],Tu[52],Tu[53],Tu[54],Tu[55],Tu[56],Tu[57],Tu[58],Tu[59],Tu[60],Tu[61],Tu[62],Tu[63],Tu[64],Tu[65],Tu[66],Tu[67],Tu[68],Tu[69],Tu[70],Tu[71],Tu[72],Tu[73],Tu[74],Tu[75],Tu[76],Tu[77],Tu[78],Tu[79],Tu[80],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],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (564): * Single equations (assignments): 564 * 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.02368/1.382, allocations: 7.812 MB / 0.7039 GB, free: 14.79 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.01489/1.397, allocations: 4.469 MB / 0.7083 GB, free: 11.32 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.397, allocations: 0 / 0.7083 GB, free: 11.32 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.008174/1.405, allocations: 2.438 MB / 0.7107 GB, free: 9.461 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.408, allocations: 300.8 kB / 0.711 GB, free: 9.277 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/1.44, allocations: 12.64 MB / 0.7233 GB, free: 13.2 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/1.442, allocations: 1.674 MB / 0.725 GB, free: 11.5 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.007518/1.449, allocations: 1.518 MB / 0.7264 GB, free: 9.973 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002853/1.452, allocations: 0.961 MB / 0.7274 GB, free: 9.621 MB / 0.589 GB Notification: Performance of SimCode: time 1.363e-06/1.452, allocations: 0 / 0.7274 GB, free: 9.621 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/1.615, allocations: 56.12 MB / 0.7822 GB, free: 1.52 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004496/1.615, allocations: 188.6 kB / 0.7824 GB, free: 1.289 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.154/6.769, allocations: 0 / 0.7824 GB, free: 1.289 MB / 0.6359 GB