Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.282/4.282, allocations: 460.5 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.805e-05, allocations: 4 kB / 0.5681 GB, free: 10.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.756/0.9525, allocations: 138.3 MB / 0.8068 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.9528, allocations: 79.22 kB / 0.8069 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04959/1.002, allocations: 12.54 MB / 0.8192 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.236e-06/1.002, allocations: 0 / 0.8192 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.528e-05/1.003, allocations: 15.41 kB / 0.8192 GB, free: 11.3 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001447/1.004, allocations: 0.868 MB / 0.82 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.004, allocations: 7.719 kB / 0.82 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/1.004, allocations: 89.23 kB / 0.8201 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/1.005, allocations: 0.5197 MB / 0.8206 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/1.005, allocations: 45.72 kB / 0.8207 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.005, allocations: 71.14 kB / 0.8207 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.007, allocations: 0.5959 MB / 0.8213 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/1.007, allocations: 7.891 kB / 0.8213 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/1.007, allocations: 21.75 kB / 0.8214 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.007, allocations: 14.97 kB / 0.8214 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009851/1.008, allocations: 423.8 kB / 0.8218 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/1.011, allocations: 2.085 MB / 0.8238 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009463/1.012, allocations: 429.5 kB / 0.8242 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/1.013, allocations: 223.4 kB / 0.8244 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/1.013, allocations: 4.25 kB / 0.8244 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/1.013, allocations: 259.1 kB / 0.8247 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 3.857e-06/1.014, allocations: 0 / 0.8247 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.0009678/1.014, allocations: 427.7 kB / 0.8251 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.015, allocations: 162.5 kB / 0.8252 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/1.015, allocations: 388.8 kB / 0.8256 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/1.015, allocations: 41.12 kB / 0.8257 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/1.015, allocations: 323.2 kB / 0.826 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/1.016, allocations: 164 kB / 0.8261 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/1.016, allocations: 6.625 kB / 0.8261 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.016, allocations: 375.5 kB / 0.8265 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/1.016, allocations: 151.3 kB / 0.8266 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/1.017, allocations: 256.2 kB / 0.8269 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/1.017, allocations: 216.5 kB / 0.8271 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.267e-06/1.017, allocations: 0 / 0.8271 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001097/1.018, allocations: 0.529 MB / 0.8276 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.018, allocations: 33.52 kB / 0.8276 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.018, allocations: 0 / 0.8276 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.018, allocations: 3.906 kB / 0.8276 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.019, allocations: 127.1 kB / 0.8278 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.019, allocations: 3.844 kB / 0.8278 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/1.019, allocations: 81.8 kB / 0.8278 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/1.02, allocations: 21.72 kB / 0.8279 GB, free: 7.367 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.000169/1.02, allocations: 137.5 kB / 0.828 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.894e-05/1.02, allocations: 62 kB / 0.828 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.02, allocations: 71.11 kB / 0.8281 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.02, allocations: 3.938 kB / 0.8281 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.02, allocations: 0 / 0.8281 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.803e-06/1.02, allocations: 7.922 kB / 0.8281 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/1.022, allocations: 1.22 MB / 0.8293 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.352e-06/1.022, allocations: 0 / 0.8293 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/1.023, allocations: 108.4 kB / 0.8294 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/1.023, allocations: 7.719 kB / 0.8294 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/1.023, allocations: 14.45 kB / 0.8294 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/1.023, allocations: 0 / 0.8294 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.023, allocations: 0 / 0.8294 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/1.024, allocations: 0.7476 MB / 0.8302 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.025, allocations: 189.8 kB / 0.8304 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.025, allocations: 6.875 kB / 0.8304 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/1.025, allocations: 53.77 kB / 0.8304 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.026, allocations: 43.31 kB / 0.8305 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/1.026, allocations: 15.16 kB / 0.8305 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004462/1.026, allocations: 315.8 kB / 0.8308 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.29e-07/1.026, allocations: 0 / 0.8308 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006644/1.027, allocations: 148.6 kB / 0.8309 GB, free: 6.129 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00017/1.027, allocations: 116.4 kB / 0.831 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008908/1.028, allocations: 455.7 kB / 0.8315 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.761e-06/1.028, allocations: 7.875 kB / 0.8315 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/1.028, allocations: 208.5 kB / 0.8317 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/1.029, allocations: 139 kB / 0.8318 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/1.032, allocations: 1.262 MB / 0.833 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/1.033, allocations: 0.9013 MB / 0.8339 GB, free: 20.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004546/1.033, allocations: 62.97 kB / 0.834 GB, free: 20.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/1.034, allocations: 38.16 kB / 0.834 GB, free: 20.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.716e-06/1.034, allocations: 0 / 0.834 GB, free: 20.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.01621/1.05, allocations: 6.205 MB / 0.8401 GB, free: 17.42 MB / 0.6511 GB