Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.912/3.912, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.743e-05/4.72e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6476, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.9024, allocations: 126.9 MB / 0.7135 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/0.9028, allocations: 75.95 kB / 0.7136 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03478/0.9376, allocations: 6.887 MB / 0.7203 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9377, allocations: 4 kB / 0.7203 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.87e-05/0.9378, allocations: 8 kB / 0.7203 GB, free: 8.371 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001518/0.9393, allocations: 0.6047 MB / 0.7209 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.9394, allocations: 8.031 kB / 0.7209 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.9395, allocations: 70.5 kB / 0.721 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.9398, allocations: 51.44 kB / 0.721 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.941, allocations: 376.3 kB / 0.7214 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.9411, allocations: 24.78 kB / 0.7214 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.9413, allocations: 31.91 kB / 0.7214 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.9426, allocations: 338.1 kB / 0.7218 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.9426, allocations: 0 / 0.7218 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.9427, allocations: 15.95 kB / 0.7218 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.9428, allocations: 8 kB / 0.7218 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.9437, allocations: 201 kB / 0.722 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.9474, allocations: 1.241 MB / 0.7232 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.9486, allocations: 239 kB / 0.7234 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.949, allocations: 101.4 kB / 0.7235 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.9491, allocations: 4.125 kB / 0.7235 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.9492, allocations: 38.75 kB / 0.7236 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 5.23e-06/0.9492, allocations: 0 / 0.7236 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0009518/0.9502, allocations: 225.6 kB / 0.7238 GB, free: 4.605 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.9503, allocations: 162.4 kB / 0.7239 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.951, allocations: 295.7 kB / 0.7242 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.9511, allocations: 37.64 kB / 0.7242 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.9515, allocations: 208.1 kB / 0.7244 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.9516, allocations: 86.83 kB / 0.7245 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.9517, allocations: 4 kB / 0.7245 GB, free: 3.766 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.9519, allocations: 346.8 kB / 0.7249 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.9523, allocations: 72 kB / 0.7249 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.9527, allocations: 143.7 kB / 0.7251 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.9531, allocations: 93.59 kB / 0.7252 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9532, allocations: 0 / 0.7252 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001018/0.9542, allocations: 260.1 kB / 0.7254 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.9545, allocations: 450.5 kB / 0.7258 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9545, allocations: 0 / 0.7258 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.9546, allocations: 4 kB / 0.7258 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.9552, allocations: 55.91 kB / 0.7259 GB, free: 2.301 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.9553, allocations: 4 kB / 0.7259 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.956, allocations: 43.81 kB / 0.7259 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.956, allocations: 8 kB / 0.7259 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9561, allocations: 4 kB / 0.726 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006222/0.9567, allocations: 195.8 kB / 0.7261 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9567, allocations: 0 / 0.7261 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.9568, allocations: 4 kB / 0.7261 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.9572, allocations: 43.92 kB / 0.7262 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.9573, allocations: 7.984 kB / 0.7262 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.9579, allocations: 31.83 kB / 0.7262 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.9579, allocations: 16.12 kB / 0.7262 GB, free: 1.949 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002234/0.9582, allocations: 128.4 kB / 0.7264 GB, free: 1.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.9584, allocations: 39.53 kB / 0.7264 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.9586, allocations: 35.25 kB / 0.7264 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.9586, allocations: 4 kB / 0.7264 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9586, allocations: 0 / 0.7264 GB, free: 1.746 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.9586, allocations: 3.984 kB / 0.7264 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.9597, allocations: 417.2 kB / 0.7268 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9598, allocations: 0 / 0.7268 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.9605, allocations: 55.91 kB / 0.7269 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.9605, allocations: 0 / 0.7269 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.9606, allocations: 11.94 kB / 0.7269 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.9606, allocations: 3.938 kB / 0.7269 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9606, allocations: 4 kB / 0.7269 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.9619, allocations: 417.1 kB / 0.7273 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.9623, allocations: 140.6 kB / 0.7274 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.9624, allocations: 12.06 kB / 0.7275 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.9628, allocations: 27.97 kB / 0.7275 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.963, allocations: 19.97 kB / 0.7275 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.963, allocations: 4 kB / 0.7275 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005952/0.9636, allocations: 242.2 kB / 0.7277 GB, free: 344 kB / 0.6042 GB Notification: Performance of sort global known variables: time 8.32e-07/0.9636, allocations: 4 kB / 0.7277 GB, free: 340 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001093/0.9648, allocations: 119.6 kB / 0.7279 GB, free: 220 kB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001782/0.9666, allocations: 0.9712 MB / 0.7288 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.9678, allocations: 294.4 kB / 0.7291 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.9679, allocations: 8 kB / 0.7291 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.9682, allocations: 99.86 kB / 0.7292 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.9691, allocations: 67.39 kB / 0.7292 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.972, allocations: 0.5911 MB / 0.7298 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.9726, allocations: 0.7999 MB / 0.7306 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.9733, allocations: 60.23 kB / 0.7307 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.9736, allocations: 123.4 kB / 0.7308 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.212e-06/0.9736, allocations: 0 / 0.7308 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5464/1.52, allocations: 7.228 MB / 0.7378 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003497/1.521, allocations: 161.4 kB / 0.738 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/4.301, allocations: 0 / 0.738 GB, free: 5.77 MB / 0.6198 GB