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.882/3.882, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.733e-05, allocations: 6.344 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6018, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.9031, allocations: 126.8 MB / 0.7135 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.9035, allocations: 75.95 kB / 0.7135 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02842/0.9319, allocations: 6.891 MB / 0.7203 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.932, allocations: 4 kB / 0.7203 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.01e-05/0.9321, allocations: 8 kB / 0.7203 GB, free: 8.48 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.001196/0.9333, allocations: 0.5998 MB / 0.7209 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.9333, allocations: 8.031 kB / 0.7209 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.9334, allocations: 70.48 kB / 0.7209 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.9336, allocations: 47.44 kB / 0.721 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.9345, allocations: 384.3 kB / 0.7214 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.9345, allocations: 20.78 kB / 0.7214 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.9346, allocations: 31.91 kB / 0.7214 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.9355, allocations: 343.7 kB / 0.7217 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.9356, allocations: 0 / 0.7217 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.9356, allocations: 19.95 kB / 0.7218 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.9357, allocations: 11.94 kB / 0.7218 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.9364, allocations: 202.2 kB / 0.722 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.9392, allocations: 1.241 MB / 0.7232 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/0.94, allocations: 235.4 kB / 0.7234 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.9403, allocations: 109.2 kB / 0.7235 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.9404, allocations: 4.188 kB / 0.7235 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.9404, allocations: 34.75 kB / 0.7235 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/0.9405, allocations: 0 / 0.7235 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.000679/0.9411, allocations: 222.2 kB / 0.7237 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9413, allocations: 162.2 kB / 0.7239 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.9418, allocations: 295.9 kB / 0.7242 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.9419, allocations: 29.7 kB / 0.7242 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.9421, allocations: 224 kB / 0.7244 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.9422, allocations: 74.84 kB / 0.7245 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.9423, allocations: 4 kB / 0.7245 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9425, allocations: 350.8 kB / 0.7248 GB, free: 3.523 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.9427, allocations: 72 kB / 0.7249 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.943, allocations: 147.7 kB / 0.725 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.9433, allocations: 90.97 kB / 0.7251 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9433, allocations: 0 / 0.7251 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006469/0.9439, allocations: 261 kB / 0.7254 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.9441, allocations: 448.4 kB / 0.7258 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9442, allocations: 4 kB / 0.7258 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9442, allocations: 0 / 0.7258 GB, free: 2.461 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.9447, allocations: 63.95 kB / 0.7259 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.9447, allocations: 4 kB / 0.7259 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.9451, allocations: 47.8 kB / 0.7259 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.9451, allocations: 4 kB / 0.7259 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.9452, allocations: 4 kB / 0.7259 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005065/0.9457, allocations: 203.8 kB / 0.7261 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.9457, allocations: 0 / 0.7261 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.9457, allocations: 4 kB / 0.7261 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.9461, allocations: 43.92 kB / 0.7262 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.9461, allocations: 4 kB / 0.7262 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.9465, allocations: 39.94 kB / 0.7262 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.9465, allocations: 15.94 kB / 0.7262 GB, free: 2.035 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.0001302/0.9466, allocations: 120.9 kB / 0.7263 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.9467, allocations: 39.53 kB / 0.7264 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.9469, allocations: 39.25 kB / 0.7264 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9469, allocations: 4 kB / 0.7264 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9469, allocations: 0 / 0.7264 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9469, allocations: 3.984 kB / 0.7264 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.9476, allocations: 417.2 kB / 0.7268 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9476, allocations: 4 kB / 0.7268 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.9481, allocations: 51.91 kB / 0.7269 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.9481, allocations: 0 / 0.7269 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.9482, allocations: 4 kB / 0.7269 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9482, allocations: 0 / 0.7269 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9482, allocations: 7.938 kB / 0.7269 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.949, allocations: 424.9 kB / 0.7273 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.9492, allocations: 140.5 kB / 0.7274 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.9493, allocations: 0 / 0.7274 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.9497, allocations: 31.97 kB / 0.7275 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.9498, allocations: 19.97 kB / 0.7275 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.9498, allocations: 4 kB / 0.7275 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003777/0.9502, allocations: 246.2 kB / 0.7277 GB, free: 436 kB / 0.6042 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9502, allocations: 3.938 kB / 0.7277 GB, free: 432 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006373/0.9509, allocations: 119.6 kB / 0.7278 GB, free: 312 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.00123/0.9521, allocations: 0.9695 MB / 0.7288 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008293/0.953, allocations: 306.6 kB / 0.7291 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.953, allocations: 0 / 0.7291 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.9533, allocations: 103.9 kB / 0.7292 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.9539, allocations: 65.8 kB / 0.7292 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.9558, allocations: 0.5876 MB / 0.7298 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.9563, allocations: 0.7999 MB / 0.7306 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.9567, allocations: 60.23 kB / 0.7306 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.957, allocations: 131.3 kB / 0.7308 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.957, allocations: 0 / 0.7308 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.991, allocations: 7.273 MB / 0.7379 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.9912, allocations: 160.3 kB / 0.738 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.722, allocations: 3.938 kB / 0.738 GB, free: 5.809 MB / 0.6198 GB