Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 3.706/3.706, allocations: 402 MB / 416 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.895e-05, allocations: 4 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1683, allocations: 92.68 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5912/0.7595, allocations: 126.9 MB / 0.7147 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.7598, allocations: 83.95 kB / 0.7148 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02684/0.7867, allocations: 6.93 MB / 0.7216 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.744e-06/0.7867, allocations: 0 / 0.7216 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.498e-05/0.7868, allocations: 8 kB / 0.7216 GB, free: 8.555 MB / 0.5886 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.001087/0.7879, allocations: 0.6025 MB / 0.7222 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7879, allocations: 8.031 kB / 0.7222 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.7881, allocations: 51.39 kB / 0.7222 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/0.7888, allocations: 375.3 kB / 0.7226 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.7889, allocations: 20.66 kB / 0.7226 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.789, allocations: 35.88 kB / 0.7226 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.7898, allocations: 366 kB / 0.723 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.7899, allocations: 3.938 kB / 0.723 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.7899, allocations: 16 kB / 0.723 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7899, allocations: 15.95 kB / 0.723 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.7907, allocations: 246.1 kB / 0.7233 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.793, allocations: 1.241 MB / 0.7245 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.7939, allocations: 286 kB / 0.7247 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.794, allocations: 12.08 kB / 0.7248 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.794, allocations: 38.75 kB / 0.7248 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 3.705e-06/0.794, allocations: 0 / 0.7248 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.001044/0.7951, allocations: 355.7 kB / 0.7251 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.7952, allocations: 158.2 kB / 0.7253 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.7957, allocations: 304.9 kB / 0.7256 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.7958, allocations: 33.7 kB / 0.7256 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.796, allocations: 208.3 kB / 0.7258 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.7961, allocations: 82.83 kB / 0.7259 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.7962, allocations: 8 kB / 0.7259 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.7964, allocations: 346.8 kB / 0.7262 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.7967, allocations: 87.97 kB / 0.7263 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.7971, allocations: 172.7 kB / 0.7265 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.7974, allocations: 109.8 kB / 0.7266 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.361e-06/0.7974, allocations: 0 / 0.7266 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008082/0.7982, allocations: 305 kB / 0.7269 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.7985, allocations: 451.3 kB / 0.7273 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7985, allocations: 0 / 0.7273 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7986, allocations: 7.953 kB / 0.7273 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.7989, allocations: 55.91 kB / 0.7274 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7989, allocations: 4 kB / 0.7274 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.7993, allocations: 51.81 kB / 0.7274 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.7993, allocations: 4 kB / 0.7274 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.7993, allocations: 4 kB / 0.7274 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005485/0.7999, allocations: 207.8 kB / 0.7276 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.844e-06/0.7999, allocations: 4 kB / 0.7276 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.048e-06/0.7999, allocations: 4.125 kB / 0.7276 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.8002, allocations: 51.92 kB / 0.7277 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.664e-06/0.8002, allocations: 0 / 0.7277 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.8005, allocations: 39.81 kB / 0.7277 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.8005, allocations: 8 kB / 0.7277 GB, free: 1.934 MB / 0.5886 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.0003085/0.8009, allocations: 169.7 kB / 0.7279 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.801, allocations: 35.53 kB / 0.7279 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.8011, allocations: 39.47 kB / 0.728 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.685e-06/0.8011, allocations: 4 kB / 0.728 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.523e-06/0.8011, allocations: 0 / 0.728 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.8011, allocations: 11.95 kB / 0.728 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.8018, allocations: 413.2 kB / 0.7284 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.494e-06/0.8018, allocations: 4 kB / 0.7284 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.8022, allocations: 47.97 kB / 0.7284 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-06/0.8022, allocations: 4 kB / 0.7284 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.8022, allocations: 0 / 0.7284 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-06/0.8023, allocations: 4 kB / 0.7284 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-06/0.8023, allocations: 0 / 0.7284 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8034, allocations: 484.3 kB / 0.7289 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.8036, allocations: 136.6 kB / 0.729 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.8037, allocations: 11.98 kB / 0.729 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.804, allocations: 28.05 kB / 0.729 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.8041, allocations: 23.97 kB / 0.7291 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.8041, allocations: 4 kB / 0.7291 GB, free: 460 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000379/0.8045, allocations: 247.2 kB / 0.7293 GB, free: 220 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7.67e-07/0.8045, allocations: 0 / 0.7293 GB, free: 220 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006671/0.8052, allocations: 119.6 kB / 0.7294 GB, free: 100 kB / 0.5886 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.0002176/0.8054, allocations: 126.9 kB / 0.7295 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.8065, allocations: 351.1 kB / 0.7299 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.884e-06/0.8065, allocations: 8 kB / 0.7299 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.8068, allocations: 122.1 kB / 0.73 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.8074, allocations: 65.52 kB / 0.7301 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.8093, allocations: 0.8627 MB / 0.7309 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.8098, allocations: 0.8076 MB / 0.7317 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000407/0.8103, allocations: 60.23 kB / 0.7318 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.8104, allocations: 31.42 kB / 0.7318 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.902e-06/0.8104, allocations: 3.938 kB / 0.7318 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.01235/0.8228, allocations: 4.041 MB / 0.7357 GB, free: 9.602 MB / 0.6042 GB