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.575/3.575, allocations: 403.3 MB / 415.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.951e-05, allocations: 7.938 kB / 0.499 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5647, allocations: 92.68 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.7552, allocations: 126.8 MB / 0.7134 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.7555, allocations: 75.95 kB / 0.7135 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02684/0.7824, allocations: 6.89 MB / 0.7202 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.932e-06/0.7824, allocations: 0 / 0.7202 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.713e-05/0.7825, allocations: 8 kB / 0.7202 GB, free: 8.516 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.001025/0.7835, allocations: 0.5957 MB / 0.7208 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7836, allocations: 8.031 kB / 0.7208 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.7837, allocations: 51.39 kB / 0.7208 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.7844, allocations: 376.4 kB / 0.7212 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.7845, allocations: 28.72 kB / 0.7212 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.7846, allocations: 28 kB / 0.7213 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.7853, allocations: 339.7 kB / 0.7216 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.7853, allocations: 3.938 kB / 0.7216 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.7854, allocations: 12 kB / 0.7216 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.7854, allocations: 11.95 kB / 0.7216 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.786, allocations: 210.2 kB / 0.7218 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.7882, allocations: 1.244 MB / 0.723 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.7889, allocations: 239.3 kB / 0.7232 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.7892, allocations: 107.2 kB / 0.7233 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.7892, allocations: 4.188 kB / 0.7234 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.7892, allocations: 34.75 kB / 0.7234 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.857e-06/0.7893, allocations: 0 / 0.7234 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005732/0.7898, allocations: 223.9 kB / 0.7236 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.79, allocations: 158.2 kB / 0.7238 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.7904, allocations: 299.9 kB / 0.724 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.7905, allocations: 33.7 kB / 0.7241 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.7907, allocations: 220 kB / 0.7243 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.7908, allocations: 78.83 kB / 0.7244 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.7909, allocations: 4 kB / 0.7244 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7911, allocations: 346.8 kB / 0.7247 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.7913, allocations: 68 kB / 0.7248 GB, free: 3.566 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.7916, allocations: 151.7 kB / 0.7249 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.7918, allocations: 86.91 kB / 0.725 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.927e-06/0.7918, allocations: 4 kB / 0.725 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000611/0.7924, allocations: 257 kB / 0.7252 GB, free: 3.047 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.7927, allocations: 449.1 kB / 0.7257 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7927, allocations: 7.953 kB / 0.7257 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7927, allocations: 0 / 0.7257 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.7931, allocations: 63.91 kB / 0.7257 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.712e-06/0.7931, allocations: 0 / 0.7257 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.7934, allocations: 47.81 kB / 0.7258 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.7935, allocations: 8 kB / 0.7258 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.7935, allocations: 4 kB / 0.7258 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004738/0.794, allocations: 193.5 kB / 0.726 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-06/0.794, allocations: 0 / 0.726 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.689e-06/0.794, allocations: 4 kB / 0.726 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.7943, allocations: 48.05 kB / 0.726 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.7943, allocations: 8 kB / 0.726 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.7946, allocations: 35.81 kB / 0.7261 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.7946, allocations: 8 kB / 0.7261 GB, free: 2.156 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.0001324/0.7948, allocations: 120.9 kB / 0.7262 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.7949, allocations: 39.53 kB / 0.7262 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.795, allocations: 43.25 kB / 0.7263 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.846e-06/0.795, allocations: 48 / 0.7263 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/0.7951, allocations: 11.92 kB / 0.7263 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-06/0.7951, allocations: 0 / 0.7263 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.7957, allocations: 421.2 kB / 0.7267 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-06/0.7957, allocations: 0 / 0.7267 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.7961, allocations: 43.97 kB / 0.7267 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.29e-06/0.7961, allocations: 4 kB / 0.7267 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.7962, allocations: 4 kB / 0.7267 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.645e-06/0.7962, allocations: 4 kB / 0.7267 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.07e-06/0.7962, allocations: 3.938 kB / 0.7267 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.797, allocations: 426.1 kB / 0.7271 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.7972, allocations: 136.6 kB / 0.7273 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.7973, allocations: 8 kB / 0.7273 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.7976, allocations: 32.05 kB / 0.7273 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.7977, allocations: 19.97 kB / 0.7273 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.7978, allocations: 7.984 kB / 0.7273 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003498/0.7981, allocations: 238.2 kB / 0.7276 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.22e-07/0.7981, allocations: 0 / 0.7276 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007766/0.7989, allocations: 123.6 kB / 0.7277 GB, free: 432 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.0001755/0.7991, allocations: 122.9 kB / 0.7278 GB, free: 296 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007532/0.7999, allocations: 308.8 kB / 0.7281 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.048e-06/0.7999, allocations: 0 / 0.7281 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.8001, allocations: 97.94 kB / 0.7282 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.8007, allocations: 84.83 kB / 0.7283 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.8021, allocations: 0.5027 MB / 0.7288 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.8026, allocations: 0.8076 MB / 0.7295 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.803, allocations: 60.23 kB / 0.7296 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.8031, allocations: 19.44 kB / 0.7296 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.88e-06/0.8031, allocations: 0 / 0.7296 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.01199/0.8151, allocations: 4.049 MB / 0.7336 GB, free: 10.35 MB / 0.6198 GB