Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.703/3.703, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 5.238e-05/5.268e-05, allocations: 4 kB / 423.3 MB, free: 15.55 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2238, allocations: 80 MB / 0.4915 GB, free: 15.45 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8219/1.046, allocations: 124.9 MB / 0.6135 GB, free: 12.21 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.046, allocations: 66.89 kB / 0.6136 GB, free: 12.18 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.02553/1.072, allocations: 3.998 MB / 0.6175 GB, free: 8.602 MB / 0.4953 GB Notification: Performance of FrontEnd: time 3.506e-06/1.072, allocations: 4 kB / 0.6175 GB, free: 8.598 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 2.435e-05/1.072, allocations: 4 kB / 0.6175 GB, free: 8.594 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001953/1.074, allocations: 0.5579 MB / 0.618 GB, free: 8 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/1.074, allocations: 8.031 kB / 0.618 GB, free: 7.992 MB / 0.4953 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/1.074, allocations: 62.11 kB / 0.6181 GB, free: 7.938 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.074, allocations: 27.7 kB / 0.6181 GB, free: 7.91 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000868/1.075, allocations: 295.9 kB / 0.6184 GB, free: 7.59 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/1.075, allocations: 19.19 kB / 0.6184 GB, free: 7.578 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.075, allocations: 38.34 kB / 0.6185 GB, free: 7.551 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/1.076, allocations: 301.9 kB / 0.6188 GB, free: 7.312 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.076, allocations: 0 / 0.6188 GB, free: 7.312 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/1.077, allocations: 7.938 kB / 0.6188 GB, free: 7.309 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/1.077, allocations: 4 kB / 0.6188 GB, free: 7.305 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/1.077, allocations: 281 kB / 0.619 GB, free: 7.09 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/1.078, allocations: 389 kB / 0.6194 GB, free: 6.719 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/1.082, allocations: 0.6846 MB / 0.6201 GB, free: 6.164 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/1.083, allocations: 227 kB / 0.6203 GB, free: 6.004 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003684/1.083, allocations: 97.27 kB / 0.6204 GB, free: 5.895 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.083, allocations: 38.94 kB / 0.6204 GB, free: 5.852 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=53): time 3.947e-06/1.083, allocations: 0 / 0.6204 GB, free: 5.852 MB / 0.4953 GB Notification: Performance of matching and sorting (n=53): time 0.001765/1.085, allocations: 0.4928 MB / 0.6209 GB, free: 5.441 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/1.085, allocations: 55.84 kB / 0.621 GB, free: 5.375 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.086, allocations: 134 kB / 0.6211 GB, free: 5.238 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.88e-05/1.086, allocations: 33.33 kB / 0.6211 GB, free: 5.207 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/1.086, allocations: 100.5 kB / 0.6212 GB, free: 5.117 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/1.086, allocations: 211.8 kB / 0.6214 GB, free: 4.938 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/1.086, allocations: 7.875 kB / 0.6214 GB, free: 4.938 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.086, allocations: 342.1 kB / 0.6217 GB, free: 4.605 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/1.087, allocations: 242.5 kB / 0.622 GB, free: 4.43 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007119/1.088, allocations: 242.6 kB / 0.6222 GB, free: 4.25 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000876/1.089, allocations: 298.7 kB / 0.6225 GB, free: 4.023 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.089, allocations: 4 kB / 0.6225 GB, free: 4.02 MB / 0.4953 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001969/1.091, allocations: 0.6523 MB / 0.6231 GB, free: 3.5 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/1.091, allocations: 4 kB / 0.6231 GB, free: 3.496 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.091, allocations: 4 kB / 0.6231 GB, free: 3.492 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/1.091, allocations: 3.984 kB / 0.6231 GB, free: 3.488 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.093, allocations: 147.1 kB / 0.6233 GB, free: 3.348 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/1.093, allocations: 0 / 0.6233 GB, free: 3.348 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/1.093, allocations: 40.78 kB / 0.6233 GB, free: 3.316 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.093, allocations: 22.75 kB / 0.6234 GB, free: 3.301 MB / 0.4953 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 (74): * Single equations (assignments): 74 * 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.0002351/1.094, allocations: 135.3 kB / 0.6235 GB, free: 3.176 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.094, allocations: 27.67 kB / 0.6235 GB, free: 3.148 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/1.096, allocations: 0.7148 MB / 0.6242 GB, free: 2.605 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.096, allocations: 4 kB / 0.6242 GB, free: 2.602 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.096, allocations: 4 kB / 0.6242 GB, free: 2.598 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.096, allocations: 3.984 kB / 0.6242 GB, free: 2.594 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/1.097, allocations: 470.7 kB / 0.6247 GB, free: 2.156 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.097, allocations: 0 / 0.6247 GB, free: 2.156 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/1.1, allocations: 162.5 kB / 0.6248 GB, free: 2.004 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.592e-05/1.1, allocations: 4 kB / 0.6248 GB, free: 2 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.1, allocations: 29.94 kB / 0.6249 GB, free: 1.98 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/1.1, allocations: 3.984 kB / 0.6249 GB, free: 1.977 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.1, allocations: 0 / 0.6249 GB, free: 1.977 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/1.103, allocations: 0.9527 MB / 0.6258 GB, free: 1.223 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/1.104, allocations: 167.7 kB / 0.6259 GB, free: 1.047 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.104, allocations: 18.92 kB / 0.626 GB, free: 1.035 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.104, allocations: 18.7 kB / 0.626 GB, free: 1.027 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.104, allocations: 44.66 kB / 0.626 GB, free: 0.9883 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.105, allocations: 19.17 kB / 0.626 GB, free: 0.9727 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.0001847/1.105, allocations: 122.3 kB / 0.6262 GB, free: 0.8672 MB / 0.4953 GB Notification: Performance of sort global known variables: time 4.01e-07/1.105, allocations: 0 / 0.6262 GB, free: 0.8672 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0007486/1.105, allocations: 128.4 kB / 0.6263 GB, free: 0.7578 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.003448/1.109, allocations: 1.526 MB / 0.6278 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001857/1.111, allocations: 0.5702 MB / 0.6283 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.111, allocations: 0 / 0.6283 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/1.112, allocations: 318.4 kB / 0.6286 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/1.113, allocations: 47.73 kB / 0.6287 GB, free: 14.72 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/1.118, allocations: 1.617 MB / 0.6303 GB, free: 13.15 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.119, allocations: 0.8167 MB / 0.6311 GB, free: 12.3 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.001019/1.12, allocations: 187.1 kB / 0.6312 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/1.12, allocations: 119.1 kB / 0.6313 GB, free: 12.07 MB / 0.5109 GB Notification: Performance of SimCode: time 1.713e-06/1.12, allocations: 8 kB / 0.6314 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/1.167, allocations: 8.268 MB / 0.6394 GB, free: 3.891 MB / 0.5109 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004448/1.168, allocations: 188.6 kB / 0.6396 GB, free: 3.664 MB / 0.5109 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/4.005, allocations: 0 / 0.6396 GB, free: 3.664 MB / 0.5109 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat does not exist to compare? outputFormat=mat