Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadModel(Buildings): time 4.446/4.446, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.608e-05, allocations: 3.984 kB / 0.5731 GB, free: 5.758 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 107.2 MB / 0.6777 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8419/1.048, allocations: 139.6 MB / 0.814 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/1.049, allocations: 85.19 kB / 0.8141 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02626/1.075, allocations: 7.488 MB / 0.8214 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/1.075, allocations: 0 / 0.8214 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.095e-05/1.075, allocations: 7.812 kB / 0.8214 GB, free: 11.43 MB / 0.6355 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.0009576/1.076, allocations: 0.6397 MB / 0.8221 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.076, allocations: 11.69 kB / 0.8221 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/1.076, allocations: 57.59 kB / 0.8221 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/1.077, allocations: 394.6 kB / 0.8225 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/1.077, allocations: 30.19 kB / 0.8225 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/1.077, allocations: 36.62 kB / 0.8226 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/1.078, allocations: 390.1 kB / 0.8229 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.078, allocations: 4.656 kB / 0.8229 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/1.078, allocations: 14.03 kB / 0.8229 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/1.078, allocations: 7.406 kB / 0.823 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/1.078, allocations: 246.3 kB / 0.8232 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/1.081, allocations: 1.382 MB / 0.8245 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/1.081, allocations: 307 kB / 0.8248 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/1.082, allocations: 136.1 kB / 0.825 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/1.082, allocations: 3.812 kB / 0.825 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/1.082, allocations: 173 kB / 0.8251 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.704e-06/1.082, allocations: 0 / 0.8251 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0006285/1.083, allocations: 278.5 kB / 0.8254 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.083, allocations: 136.2 kB / 0.8255 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/1.083, allocations: 311.2 kB / 0.8258 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/1.083, allocations: 36.58 kB / 0.8259 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.083, allocations: 226.7 kB / 0.8261 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/1.083, allocations: 103.5 kB / 0.8262 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/1.083, allocations: 14.44 kB / 0.8262 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/1.084, allocations: 347.3 kB / 0.8265 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/1.084, allocations: 97.78 kB / 0.8266 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/1.084, allocations: 159 kB / 0.8268 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/1.084, allocations: 109.5 kB / 0.8269 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.542e-06/1.084, allocations: 0 / 0.8269 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006878/1.085, allocations: 321.7 kB / 0.8272 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.085, allocations: 11.67 kB / 0.8272 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.085, allocations: 0 / 0.8272 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.085, allocations: 3.844 kB / 0.8272 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/1.086, allocations: 73.25 kB / 0.8273 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.086, allocations: 3.969 kB / 0.8273 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/1.086, allocations: 53.09 kB / 0.8273 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/1.086, allocations: 11.19 kB / 0.8273 GB, free: 8.25 MB / 0.6355 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.0001252/1.086, allocations: 126.5 kB / 0.8274 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/1.086, allocations: 42.52 kB / 0.8275 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/1.086, allocations: 48.09 kB / 0.8275 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.03e-06/1.086, allocations: 3.844 kB / 0.8275 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.97e-06/1.086, allocations: 0 / 0.8275 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.769e-06/1.086, allocations: 3.984 kB / 0.8275 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.088, allocations: 0.8272 MB / 0.8283 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-06/1.088, allocations: 4 kB / 0.8283 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/1.088, allocations: 54.22 kB / 0.8284 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-06/1.088, allocations: 0 / 0.8284 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.088, allocations: 11.33 kB / 0.8284 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.547e-06/1.088, allocations: 0 / 0.8284 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.088, allocations: 7.969 kB / 0.8284 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/1.089, allocations: 0.5136 MB / 0.8289 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.089, allocations: 148.2 kB / 0.8291 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/1.09, allocations: 10.78 kB / 0.8291 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/1.09, allocations: 22.48 kB / 0.8291 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/1.09, allocations: 27.08 kB / 0.8291 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/1.09, allocations: 11.28 kB / 0.8291 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003441/1.09, allocations: 247.5 kB / 0.8294 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.04e-07/1.09, allocations: 4 kB / 0.8294 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005062/1.091, allocations: 83.72 kB / 0.8294 GB, free: 7.184 MB / 0.6355 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.0001572/1.091, allocations: 111.8 kB / 0.8296 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005383/1.092, allocations: 243.1 kB / 0.8298 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.188e-06/1.092, allocations: 0 / 0.8298 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/1.092, allocations: 133.1 kB / 0.8299 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/1.092, allocations: 75.34 kB / 0.83 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.094, allocations: 0.5855 MB / 0.8306 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/1.095, allocations: 0.8191 MB / 0.8314 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000245/1.095, allocations: 49.72 kB / 0.8314 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.095, allocations: 30.34 kB / 0.8314 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.715e-06/1.095, allocations: 0 / 0.8314 GB, free: 21.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.01096/1.106, allocations: 3.711 MB / 0.8351 GB, free: 20.16 MB / 0.6511 GB