Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.701/3.701, allocations: 326.3 MB / 339.3 MB, free: 7.75 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.8e-05/4.809e-05, allocations: 4 kB / 423.3 MB, free: 12.81 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1997, allocations: 79.99 MB / 0.4915 GB, free: 12.65 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7562/0.956, allocations: 125.5 MB / 0.614 GB, free: 4.094 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.9564, allocations: 63.97 kB / 0.6141 GB, free: 4.031 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.07883/1.035, allocations: 12.34 MB / 0.6262 GB, free: 7.68 MB / 0.5109 GB Notification: Performance of FrontEnd: time 2.795e-06/1.035, allocations: 0 / 0.6262 GB, free: 7.68 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 5.534e-05/1.035, allocations: 16 kB / 0.6262 GB, free: 7.664 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.007699/1.043, allocations: 1.533 MB / 0.6277 GB, free: 6.082 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/1.043, allocations: 8.031 kB / 0.6277 GB, free: 6.074 MB / 0.5109 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007125/1.044, allocations: 135 kB / 0.6278 GB, free: 5.934 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/1.044, allocations: 83.06 kB / 0.6279 GB, free: 5.852 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/1.048, allocations: 0.9026 MB / 0.6288 GB, free: 4.906 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/1.048, allocations: 58 kB / 0.6288 GB, free: 4.848 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000763/1.049, allocations: 119.7 kB / 0.6289 GB, free: 4.73 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/1.053, allocations: 1.104 MB / 0.63 GB, free: 3.621 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/1.053, allocations: 0 / 0.63 GB, free: 3.621 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/1.054, allocations: 31.98 kB / 0.63 GB, free: 3.59 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/1.054, allocations: 27.94 kB / 0.6301 GB, free: 3.562 MB / 0.5109 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/1.058, allocations: 1.226 MB / 0.6313 GB, free: 2.336 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/1.063, allocations: 1.084 MB / 0.6323 GB, free: 1.199 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/1.078, allocations: 2.705 MB / 0.635 GB, free: 14.5 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/1.081, allocations: 0.8657 MB / 0.6358 GB, free: 13.63 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/1.082, allocations: 127 kB / 0.6359 GB, free: 13.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.087e-05/1.082, allocations: 56.56 kB / 0.636 GB, free: 13.42 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=203): time 6.162e-06/1.082, allocations: 0 / 0.636 GB, free: 13.42 MB / 0.5265 GB Notification: Performance of matching and sorting (n=203): time 0.007647/1.09, allocations: 1.862 MB / 0.6378 GB, free: 11.55 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/1.09, allocations: 73.41 kB / 0.6379 GB, free: 11.46 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/1.09, allocations: 205.1 kB / 0.6381 GB, free: 11.26 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0006137/1.091, allocations: 53.7 kB / 0.6381 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.091, allocations: 135.3 kB / 0.6383 GB, free: 11.07 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/1.093, allocations: 0.7893 MB / 0.639 GB, free: 10.27 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/1.093, allocations: 40 kB / 0.6391 GB, free: 10.23 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0004285/1.094, allocations: 419.2 kB / 0.6395 GB, free: 9.812 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/1.097, allocations: 0.9296 MB / 0.6404 GB, free: 8.879 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/1.101, allocations: 0.9406 MB / 0.6413 GB, free: 7.934 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/1.105, allocations: 1.11 MB / 0.6424 GB, free: 6.801 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.105, allocations: 0 / 0.6424 GB, free: 6.801 MB / 0.5265 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009412/1.115, allocations: 2.458 MB / 0.6448 GB, free: 4.297 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/1.115, allocations: 11.94 kB / 0.6448 GB, free: 4.285 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.115, allocations: 4 kB / 0.6448 GB, free: 4.281 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.116e-05/1.115, allocations: 12 kB / 0.6448 GB, free: 4.27 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008135/1.123, allocations: 0.5345 MB / 0.6453 GB, free: 3.734 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.96e-05/1.123, allocations: 9.25 kB / 0.6453 GB, free: 3.727 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/1.125, allocations: 150.3 kB / 0.6455 GB, free: 3.578 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/1.126, allocations: 79.91 kB / 0.6455 GB, free: 3.5 MB / 0.5265 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.0006945/1.127, allocations: 212.6 kB / 0.6457 GB, free: 3.285 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/1.127, allocations: 86.97 kB / 0.6458 GB, free: 3.199 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.138, allocations: 2.686 MB / 0.6485 GB, free: 472 kB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/1.138, allocations: 31.98 kB / 0.6485 GB, free: 440 kB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.138, allocations: 0 / 0.6485 GB, free: 440 kB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/1.139, allocations: 15.94 kB / 0.6485 GB, free: 424 kB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/1.143, allocations: 1.329 MB / 0.6498 GB, free: 15.03 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.143, allocations: 0 / 0.6498 GB, free: 15.03 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/1.153, allocations: 0.6164 MB / 0.6504 GB, free: 14.41 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/1.154, allocations: 12 kB / 0.6504 GB, free: 14.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008887/1.155, allocations: 99.88 kB / 0.6505 GB, free: 14.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.022e-05/1.155, allocations: 8 kB / 0.6505 GB, free: 14.29 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.155, allocations: 0 / 0.6505 GB, free: 14.29 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.168, allocations: 3.531 MB / 0.654 GB, free: 10.69 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.17, allocations: 434.7 kB / 0.6544 GB, free: 10.25 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/1.171, allocations: 75.95 kB / 0.6545 GB, free: 10.17 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.173, allocations: 47.95 kB / 0.6545 GB, free: 10.12 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007882/1.174, allocations: 162 kB / 0.6547 GB, free: 9.965 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003804/1.174, allocations: 79.97 kB / 0.6547 GB, free: 9.887 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003255/1.175, allocations: 169.3 kB / 0.6549 GB, free: 9.723 MB / 0.5421 GB Notification: Performance of sort global known variables: time 5.91e-07/1.175, allocations: 0 / 0.6549 GB, free: 9.723 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.002557/1.177, allocations: 452 kB / 0.6553 GB, free: 9.281 MB / 0.5421 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.01409/1.191, allocations: 4.214 MB / 0.6594 GB, free: 4.984 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.008477/1.2, allocations: 2.239 MB / 0.6616 GB, free: 2.723 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.2, allocations: 0 / 0.6616 GB, free: 2.723 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00457/1.205, allocations: 1.215 MB / 0.6628 GB, free: 1.508 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.206, allocations: 155.2 kB / 0.663 GB, free: 1.359 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.225, allocations: 6.172 MB / 0.669 GB, free: 11.12 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.226, allocations: 1.175 MB / 0.6701 GB, free: 9.918 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.004602/1.231, allocations: 0.7475 MB / 0.6709 GB, free: 9.168 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/1.233, allocations: 479.3 kB / 0.6713 GB, free: 8.699 MB / 0.5578 GB Notification: Performance of SimCode: time 2.875e-06/1.233, allocations: 0 / 0.6713 GB, free: 8.699 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.342, allocations: 28.75 MB / 0.6994 GB, free: 12 MB / 0.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004354/1.343, allocations: 192.6 kB / 0.6996 GB, free: 11.77 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/5.312, allocations: 8.016 kB / 0.6996 GB, free: 11.77 MB / 0.589 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat