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.789/3.789, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.328e-05, allocations: 11.94 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.48, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.6695, allocations: 126.8 MB / 0.7134 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6698, allocations: 75.95 kB / 0.7135 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02698/0.6968, allocations: 6.894 MB / 0.7202 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.582e-06/0.6968, allocations: 4 kB / 0.7202 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.868e-05/0.6969, allocations: 8 kB / 0.7202 GB, free: 8.465 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.001033/0.6979, allocations: 0.592 MB / 0.7208 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.698, allocations: 8.031 kB / 0.7208 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.6981, allocations: 51.39 kB / 0.7209 GB, free: 7.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.6988, allocations: 380.3 kB / 0.7212 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.6989, allocations: 20.78 kB / 0.7213 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.699, allocations: 32 kB / 0.7213 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.6997, allocations: 342.1 kB / 0.7216 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.6997, allocations: 0 / 0.7216 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.6998, allocations: 12 kB / 0.7216 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.6998, allocations: 11.95 kB / 0.7216 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.7004, allocations: 197 kB / 0.7218 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.7026, allocations: 1.244 MB / 0.723 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.7033, allocations: 231.2 kB / 0.7233 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.7036, allocations: 117.1 kB / 0.7234 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.7036, allocations: 4.172 kB / 0.7234 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.7037, allocations: 34.75 kB / 0.7234 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.234e-06/0.7037, allocations: 224 / 0.7234 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0005824/0.7043, allocations: 216.1 kB / 0.7236 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7044, allocations: 170.1 kB / 0.7238 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.7049, allocations: 303.6 kB / 0.7241 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.705, allocations: 33.7 kB / 0.7241 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7052, allocations: 212.1 kB / 0.7243 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.7053, allocations: 74.84 kB / 0.7244 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.7053, allocations: 8 kB / 0.7244 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7055, allocations: 346.8 kB / 0.7247 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.7057, allocations: 68 kB / 0.7248 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.706, allocations: 147.7 kB / 0.7249 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.7062, allocations: 90.92 kB / 0.725 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-06/0.7063, allocations: 0 / 0.725 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000616/0.7069, allocations: 249.1 kB / 0.7252 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.7072, allocations: 453.1 kB / 0.7257 GB, free: 2.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7072, allocations: 7.953 kB / 0.7257 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7072, allocations: 0 / 0.7257 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.7076, allocations: 59.91 kB / 0.7257 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.738e-06/0.7076, allocations: 0 / 0.7257 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.7079, allocations: 47.81 kB / 0.7258 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.708, allocations: 8 kB / 0.7258 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.708, allocations: 4 kB / 0.7258 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005251/0.7085, allocations: 190.6 kB / 0.726 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7086, allocations: 8.125 kB / 0.726 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.965e-06/0.7086, allocations: 0 / 0.726 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.7091, allocations: 51.92 kB / 0.726 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.178e-06/0.7091, allocations: 0 / 0.726 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.7095, allocations: 35.83 kB / 0.7261 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.7095, allocations: 8 kB / 0.7261 GB, free: 2.133 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.0001459/0.7097, allocations: 128.9 kB / 0.7262 GB, free: 2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.7098, allocations: 35.53 kB / 0.7262 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.7099, allocations: 43.25 kB / 0.7263 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-06/0.7099, allocations: 0 / 0.7263 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-06/0.71, allocations: 0 / 0.7263 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.923e-06/0.71, allocations: 4 kB / 0.7263 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000646/0.7106, allocations: 425.1 kB / 0.7267 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-06/0.7106, allocations: 0 / 0.7267 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.711, allocations: 51.97 kB / 0.7267 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.133e-06/0.7111, allocations: 3.938 kB / 0.7267 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.7111, allocations: 4 kB / 0.7267 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7111, allocations: 0 / 0.7267 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-06/0.7111, allocations: 0 / 0.7267 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.7119, allocations: 425.8 kB / 0.7271 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.7122, allocations: 140.6 kB / 0.7273 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/0.7122, allocations: 12 kB / 0.7273 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.7126, allocations: 32.05 kB / 0.7273 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.7126, allocations: 15.97 kB / 0.7273 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.7127, allocations: 11.98 kB / 0.7273 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003601/0.713, allocations: 238.2 kB / 0.7276 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.09e-07/0.7131, allocations: 0 / 0.7276 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006425/0.7137, allocations: 123.6 kB / 0.7277 GB, free: 400 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.0001788/0.7139, allocations: 122.9 kB / 0.7278 GB, free: 264 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000741/0.7147, allocations: 294 kB / 0.7281 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.695e-06/0.7147, allocations: 0 / 0.7281 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.7149, allocations: 95.94 kB / 0.7282 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.7155, allocations: 71.23 kB / 0.7282 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.7169, allocations: 0.5079 MB / 0.7287 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.7175, allocations: 0.8115 MB / 0.7295 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003794/0.7179, allocations: 60.23 kB / 0.7296 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.718, allocations: 27.44 kB / 0.7296 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of SimCode: time 1.731e-06/0.718, allocations: 0 / 0.7296 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.01173/0.7297, allocations: 4.018 MB / 0.7335 GB, free: 10.36 MB / 0.6198 GB