Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 3.623/3.623, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.406e-05, allocations: 7.938 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4801, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.6723, allocations: 127.9 MB / 0.7145 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.6726, allocations: 75.97 kB / 0.7145 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.7017, allocations: 7.512 MB / 0.7219 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7018, allocations: 0 / 0.7219 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.58e-05/0.7018, allocations: 8.188 kB / 0.7219 GB, free: 6.812 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00121/0.703, allocations: 0.6505 MB / 0.7225 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7031, allocations: 12.03 kB / 0.7225 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.7032, allocations: 59.3 kB / 0.7226 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.704, allocations: 392.3 kB / 0.7229 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.7041, allocations: 28.78 kB / 0.723 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.7042, allocations: 43.98 kB / 0.723 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.7051, allocations: 385.7 kB / 0.7234 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.7051, allocations: 0 / 0.7234 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.7052, allocations: 16 kB / 0.7234 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.7052, allocations: 15.95 kB / 0.7234 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.7059, allocations: 241.5 kB / 0.7236 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.7086, allocations: 1.386 MB / 0.725 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.7094, allocations: 302.7 kB / 0.7253 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.7097, allocations: 117.4 kB / 0.7254 GB, free: 3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.7098, allocations: 8.219 kB / 0.7254 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.7102, allocations: 181.1 kB / 0.7256 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/0.7102, allocations: 3.938 kB / 0.7256 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0007457/0.711, allocations: 279 kB / 0.7259 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.7111, allocations: 136.5 kB / 0.726 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.7116, allocations: 307.6 kB / 0.7263 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.7117, allocations: 37.69 kB / 0.7263 GB, free: 2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.712, allocations: 232.7 kB / 0.7265 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7121, allocations: 102.5 kB / 0.7266 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.7121, allocations: 8 kB / 0.7266 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7124, allocations: 354.7 kB / 0.727 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.7126, allocations: 92 kB / 0.7271 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.713, allocations: 167.9 kB / 0.7272 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.7133, allocations: 106 kB / 0.7273 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.603e-06/0.7133, allocations: 0 / 0.7273 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007501/0.714, allocations: 318.3 kB / 0.7276 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.7143, allocations: 457.1 kB / 0.7281 GB, free: 132 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.601e-06/0.7143, allocations: 0 / 0.7281 GB, free: 132 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7143, allocations: 4 kB / 0.7281 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.7148, allocations: 67.91 kB / 0.7281 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7148, allocations: 0 / 0.7281 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.7151, allocations: 55.66 kB / 0.7282 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.7152, allocations: 12.08 kB / 0.7282 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7152, allocations: 4 kB / 0.7282 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006095/0.7159, allocations: 252 kB / 0.7284 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.862e-06/0.7159, allocations: 7.953 kB / 0.7284 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.256e-06/0.7159, allocations: 0 / 0.7284 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.7162, allocations: 63.91 kB / 0.7285 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.879e-06/0.7163, allocations: 4 kB / 0.7285 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.7166, allocations: 39.86 kB / 0.7286 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.7166, allocations: 19.98 kB / 0.7286 GB, free: 15.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001717/0.7168, allocations: 128.4 kB / 0.7287 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.7169, allocations: 43.53 kB / 0.7287 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.7171, allocations: 52.27 kB / 0.7288 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-06/0.7171, allocations: 0 / 0.7288 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.082e-06/0.7171, allocations: 8 kB / 0.7288 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-06/0.7172, allocations: 3.984 kB / 0.7288 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.7187, allocations: 0.8262 MB / 0.7296 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-06/0.7188, allocations: 3.938 kB / 0.7296 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.7191, allocations: 59.8 kB / 0.7297 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-06/0.7192, allocations: 0 / 0.7297 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.7192, allocations: 8 kB / 0.7297 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.627e-06/0.7192, allocations: 4 kB / 0.7297 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-06/0.7192, allocations: 0 / 0.7297 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7203, allocations: 0.5027 MB / 0.7302 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.7205, allocations: 144.6 kB / 0.7303 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.7206, allocations: 11.95 kB / 0.7303 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.7209, allocations: 31.98 kB / 0.7303 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.7211, allocations: 27.95 kB / 0.7304 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.7211, allocations: 8 kB / 0.7304 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003827/0.7215, allocations: 246.2 kB / 0.7306 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.22e-07/0.7215, allocations: 0 / 0.7306 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007162/0.7222, allocations: 151.5 kB / 0.7308 GB, free: 13.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002001/0.7224, allocations: 130.9 kB / 0.7309 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009528/0.7234, allocations: 405.7 kB / 0.7313 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.438e-06/0.7234, allocations: 0 / 0.7313 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.7237, allocations: 135.8 kB / 0.7314 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.7243, allocations: 69.14 kB / 0.7315 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.726, allocations: 0.5791 MB / 0.732 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.7266, allocations: 0.8318 MB / 0.7328 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004185/0.727, allocations: 57.25 kB / 0.7329 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.7271, allocations: 31.42 kB / 0.7329 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of SimCode: time 3.678e-06/0.7271, allocations: 0 / 0.7329 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.01332/0.7405, allocations: 4.47 MB / 0.7373 GB, free: 6.539 MB / 0.6198 GB