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.72/3.72, allocations: 403.3 MB / 415.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.36e-05, allocations: 0 / 0.499 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4888, allocations: 92.69 MB / 0.5895 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6794, allocations: 127.9 MB / 0.7144 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.6797, allocations: 71.97 kB / 0.7145 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.7092, allocations: 7.52 MB / 0.7218 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.846e-06/0.7093, allocations: 0 / 0.7218 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.34e-05/0.7093, allocations: 12 kB / 0.7218 GB, free: 6.77 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.001194/0.7105, allocations: 0.6366 MB / 0.7225 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7106, allocations: 12.03 kB / 0.7225 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.7107, allocations: 59.3 kB / 0.7225 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.7115, allocations: 392.3 kB / 0.7229 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.7115, allocations: 32.72 kB / 0.7229 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.7116, allocations: 39.98 kB / 0.723 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.7125, allocations: 391.3 kB / 0.7234 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.7125, allocations: 11.94 kB / 0.7234 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.7126, allocations: 8 kB / 0.7234 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.7126, allocations: 15.95 kB / 0.7234 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006631/0.7133, allocations: 251.1 kB / 0.7236 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.716, allocations: 1.378 MB / 0.725 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.7168, allocations: 302.7 kB / 0.7253 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.7171, allocations: 129.4 kB / 0.7254 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.7172, allocations: 8 kB / 0.7254 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.7176, allocations: 185.6 kB / 0.7256 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 5.959e-06/0.7176, allocations: 3.938 kB / 0.7256 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0007237/0.7183, allocations: 278.8 kB / 0.7258 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.7184, allocations: 133.1 kB / 0.726 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.719, allocations: 311.6 kB / 0.7263 GB, free: 1.988 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.7191, allocations: 37.69 kB / 0.7263 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.7193, allocations: 232.1 kB / 0.7265 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.7194, allocations: 106.5 kB / 0.7266 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.7195, allocations: 8 kB / 0.7266 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7197, allocations: 350.8 kB / 0.727 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.7199, allocations: 95.98 kB / 0.7271 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.7203, allocations: 171.8 kB / 0.7272 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.7206, allocations: 106.1 kB / 0.7273 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.832e-06/0.7206, allocations: 0 / 0.7273 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007502/0.7213, allocations: 326.2 kB / 0.7276 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.7216, allocations: 449.1 kB / 0.7281 GB, free: 68 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.375e-06/0.7216, allocations: 4 kB / 0.7281 GB, free: 64 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7216, allocations: 4 kB / 0.7281 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.7221, allocations: 67.95 kB / 0.7281 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.7221, allocations: 4 kB / 0.7281 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.7225, allocations: 51.61 kB / 0.7282 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.7225, allocations: 12 kB / 0.7282 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7226, allocations: 8 kB / 0.7282 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006039/0.7232, allocations: 252 kB / 0.7284 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.995e-06/0.7232, allocations: 3.953 kB / 0.7285 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.333e-06/0.7232, allocations: 4 kB / 0.7285 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.7236, allocations: 59.91 kB / 0.7285 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.338e-06/0.7236, allocations: 4 kB / 0.7285 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.7239, allocations: 43.86 kB / 0.7286 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.724, allocations: 15.98 kB / 0.7286 GB, free: 15.54 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.000168/0.7241, allocations: 136.8 kB / 0.7287 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.7242, allocations: 39.53 kB / 0.7287 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.7244, allocations: 48.33 kB / 0.7288 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-06/0.7244, allocations: 4 kB / 0.7288 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-06/0.7244, allocations: 0 / 0.7288 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.126e-06/0.7244, allocations: 7.984 kB / 0.7288 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.726, allocations: 0.8224 MB / 0.7296 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.551e-06/0.726, allocations: 3.938 kB / 0.7296 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.7264, allocations: 59.86 kB / 0.7297 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.225e-06/0.7265, allocations: 0 / 0.7297 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.7265, allocations: 8 kB / 0.7297 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.246e-06/0.7265, allocations: 8 kB / 0.7297 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.472e-06/0.7265, allocations: 4 kB / 0.7297 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.7276, allocations: 0.5026 MB / 0.7302 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.7278, allocations: 144.6 kB / 0.7303 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.7279, allocations: 7.953 kB / 0.7303 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.7282, allocations: 35.98 kB / 0.7304 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.7284, allocations: 31.89 kB / 0.7304 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.7284, allocations: 8 kB / 0.7304 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003955/0.7288, allocations: 250.2 kB / 0.7306 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.63e-07/0.7288, allocations: 0 / 0.7306 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000738/0.7296, allocations: 151.4 kB / 0.7308 GB, free: 13.19 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.0002079/0.7298, allocations: 123 kB / 0.7309 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009727/0.7308, allocations: 405.8 kB / 0.7313 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.525e-06/0.7308, allocations: 0 / 0.7313 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.7311, allocations: 144.3 kB / 0.7314 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.7317, allocations: 68.67 kB / 0.7315 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.7333, allocations: 0.5702 MB / 0.732 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.7339, allocations: 0.8279 MB / 0.7328 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.7343, allocations: 69.22 kB / 0.7329 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.7345, allocations: 31.42 kB / 0.7329 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.856e-06/0.7345, allocations: 4 kB / 0.7329 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.01315/0.7476, allocations: 4.487 MB / 0.7373 GB, free: 6.434 MB / 0.6198 GB