Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.55/3.55, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.701e-05, allocations: 7.984 kB / 423.3 MB, free: 15.57 MB / 347.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 79.99 MB / 0.4915 GB, free: 15.46 MB / 427.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/0.9579, allocations: 124.9 MB / 0.6135 GB, free: 12.48 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.9582, allocations: 62.75 kB / 0.6136 GB, free: 12.45 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.9734, allocations: 2.709 MB / 0.6162 GB, free: 10.05 MB / 0.4953 GB Notification: Performance of FrontEnd: time 5.12e-06/0.9734, allocations: 4 kB / 0.6162 GB, free: 10.04 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9735, allocations: 0 / 0.6162 GB, free: 10.04 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001078/0.9745, allocations: 457.5 kB / 0.6167 GB, free: 9.555 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.9746, allocations: 16.02 kB / 0.6167 GB, free: 9.539 MB / 0.4953 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.9747, allocations: 44.44 kB / 0.6167 GB, free: 9.496 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.9748, allocations: 15.81 kB / 0.6167 GB, free: 9.48 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.9753, allocations: 226.5 kB / 0.617 GB, free: 9.223 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.9753, allocations: 11.67 kB / 0.617 GB, free: 9.215 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.9754, allocations: 19.2 kB / 0.617 GB, free: 9.199 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.9759, allocations: 171 kB / 0.6171 GB, free: 9.062 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.976, allocations: 0 / 0.6171 GB, free: 9.062 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.976, allocations: 2.75 kB / 0.6171 GB, free: 9.062 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.976, allocations: 4 kB / 0.6172 GB, free: 9.059 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.9765, allocations: 138.9 kB / 0.6173 GB, free: 8.953 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.977, allocations: 273.1 kB / 0.6175 GB, free: 8.668 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.9788, allocations: 350.7 kB / 0.6179 GB, free: 8.383 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.9792, allocations: 122.5 kB / 0.618 GB, free: 8.293 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.9794, allocations: 97.03 kB / 0.6181 GB, free: 8.18 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.9795, allocations: 38.44 kB / 0.6181 GB, free: 8.137 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=28): time 2.885e-06/0.9795, allocations: 0 / 0.6181 GB, free: 8.137 MB / 0.4953 GB Notification: Performance of matching and sorting (n=28): time 0.0008787/0.9804, allocations: 280.7 kB / 0.6184 GB, free: 7.906 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.9805, allocations: 55.41 kB / 0.6184 GB, free: 7.84 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.9807, allocations: 120.1 kB / 0.6186 GB, free: 7.727 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.9807, allocations: 29.52 kB / 0.6186 GB, free: 7.695 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.9808, allocations: 98.62 kB / 0.6187 GB, free: 7.605 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.981, allocations: 110.4 kB / 0.6188 GB, free: 7.512 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.981, allocations: 6.75 kB / 0.6188 GB, free: 7.508 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9812, allocations: 333.3 kB / 0.6191 GB, free: 7.18 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.9815, allocations: 122.4 kB / 0.6192 GB, free: 7.09 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.9819, allocations: 123.7 kB / 0.6193 GB, free: 7 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.9823, allocations: 146.7 kB / 0.6195 GB, free: 6.891 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9823, allocations: 3.984 kB / 0.6195 GB, free: 6.887 MB / 0.4953 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009574/0.9833, allocations: 355.5 kB / 0.6198 GB, free: 6.602 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.9834, allocations: 7.953 kB / 0.6198 GB, free: 6.594 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9834, allocations: 0 / 0.6198 GB, free: 6.594 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.9834, allocations: 0 / 0.6198 GB, free: 6.594 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.9842, allocations: 87.14 kB / 0.6199 GB, free: 6.512 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.9842, allocations: 0 / 0.6199 GB, free: 6.512 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.9845, allocations: 15.09 kB / 0.6199 GB, free: 6.5 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.9846, allocations: 11.5 kB / 0.6199 GB, free: 6.492 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 (39): * Single equations (assignments): 39 * 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.0001456/0.9847, allocations: 119 kB / 0.6201 GB, free: 6.379 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.9848, allocations: 15.81 kB / 0.6201 GB, free: 6.363 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.986, allocations: 414.7 kB / 0.6205 GB, free: 6.039 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.986, allocations: 4 kB / 0.6205 GB, free: 6.035 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9861, allocations: 0 / 0.6205 GB, free: 6.035 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.9861, allocations: 0 / 0.6205 GB, free: 6.035 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.9866, allocations: 313.8 kB / 0.6208 GB, free: 5.719 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9866, allocations: 4 kB / 0.6208 GB, free: 5.715 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.9877, allocations: 87.27 kB / 0.6209 GB, free: 5.633 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.9877, allocations: 11.88 kB / 0.6209 GB, free: 5.621 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.9878, allocations: 15.42 kB / 0.6209 GB, free: 5.609 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.9878, allocations: 3.953 kB / 0.6209 GB, free: 5.605 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9878, allocations: 4 kB / 0.6209 GB, free: 5.602 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.9892, allocations: 0.5026 MB / 0.6214 GB, free: 5.184 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.9895, allocations: 127.8 kB / 0.6215 GB, free: 5.043 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.9896, allocations: 15.44 kB / 0.6215 GB, free: 5.035 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.9899, allocations: 7 kB / 0.6215 GB, free: 5.031 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.9899, allocations: 27.23 kB / 0.6216 GB, free: 5.008 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.99, allocations: 15.23 kB / 0.6216 GB, free: 4.996 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.0001143/0.9901, allocations: 94.52 kB / 0.6217 GB, free: 4.906 MB / 0.4953 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9901, allocations: 0 / 0.6217 GB, free: 4.906 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0005078/0.9906, allocations: 79.69 kB / 0.6217 GB, free: 4.84 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.001918/0.9926, allocations: 1.064 MB / 0.6228 GB, free: 3.863 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0009043/0.9935, allocations: 299.7 kB / 0.6231 GB, free: 3.637 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.9936, allocations: 4 kB / 0.6231 GB, free: 3.633 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.994, allocations: 161.2 kB / 0.6232 GB, free: 3.508 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.9944, allocations: 39.16 kB / 0.6233 GB, free: 3.48 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.997, allocations: 0.89 MB / 0.6241 GB, free: 2.598 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.9975, allocations: 0.7567 MB / 0.6249 GB, free: 1.816 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 0.0005043/0.998, allocations: 97.95 kB / 0.625 GB, free: 1.723 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.9983, allocations: 69.34 kB / 0.625 GB, free: 1.688 MB / 0.4953 GB Notification: Performance of SimCode: time 1.242e-06/0.9983, allocations: 0 / 0.625 GB, free: 1.688 MB / 0.4953 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/1.033, allocations: 4.886 MB / 0.6298 GB, free: 12.9 MB / 0.5109 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004571/1.034, allocations: 191.8 kB / 0.63 GB, free: 12.67 MB / 0.5109 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.749, allocations: 0 / 0.63 GB, free: 12.67 MB / 0.5109 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat does not exist to compare? outputFormat=mat