Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.328/4.328, allocations: 464.6 MB / 476.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.979e-05, allocations: 0 / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 107.2 MB / 0.6777 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7716/0.9748, allocations: 138.6 MB / 0.8131 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.9751, allocations: 79.47 kB / 0.8132 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04757/1.023, allocations: 12.49 MB / 0.8254 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.075e-06/1.023, allocations: 0 / 0.8254 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-05/1.023, allocations: 11.5 kB / 0.8254 GB, free: 9.789 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.002301/1.025, allocations: 0.8649 MB / 0.8263 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.025, allocations: 11.56 kB / 0.8263 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/1.026, allocations: 89.33 kB / 0.8263 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.027, allocations: 0.5266 MB / 0.8269 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/1.027, allocations: 43.59 kB / 0.8269 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/1.027, allocations: 54.94 kB / 0.827 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/1.03, allocations: 0.5967 MB / 0.8275 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.509e-05/1.03, allocations: 11.22 kB / 0.8275 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/1.03, allocations: 21.19 kB / 0.8276 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/1.03, allocations: 15.44 kB / 0.8276 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.032, allocations: 423.2 kB / 0.828 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006772/1.038, allocations: 2.096 MB / 0.83 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/1.04, allocations: 429.6 kB / 0.8304 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008759/1.041, allocations: 220 kB / 0.8307 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.428e-05/1.041, allocations: 12.11 kB / 0.8307 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000953/1.042, allocations: 249.2 kB / 0.8309 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 7.903e-06/1.042, allocations: 0 / 0.8309 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.001303/1.044, allocations: 427.2 kB / 0.8313 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.044, allocations: 170.3 kB / 0.8315 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/1.044, allocations: 392.3 kB / 0.8318 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/1.044, allocations: 39.11 kB / 0.8319 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.045, allocations: 308.9 kB / 0.8322 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.045, allocations: 165.7 kB / 0.8323 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/1.045, allocations: 14.22 kB / 0.8324 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.045, allocations: 369.2 kB / 0.8327 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/1.045, allocations: 151.7 kB / 0.8328 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/1.046, allocations: 256.9 kB / 0.8331 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/1.046, allocations: 214.7 kB / 0.8333 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.716e-06/1.046, allocations: 0 / 0.8333 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001165/1.048, allocations: 0.5262 MB / 0.8338 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.048, allocations: 37.47 kB / 0.8338 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.048, allocations: 3.844 kB / 0.8339 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.048, allocations: 3.781 kB / 0.8339 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/1.048, allocations: 118.5 kB / 0.834 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.048, allocations: 7.75 kB / 0.834 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/1.049, allocations: 84.89 kB / 0.8341 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/1.049, allocations: 22.98 kB / 0.8341 GB, free: 5.844 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.0001621/1.049, allocations: 133.3 kB / 0.8342 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.049, allocations: 65.25 kB / 0.8343 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/1.05, allocations: 66.53 kB / 0.8343 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-06/1.05, allocations: 3.781 kB / 0.8343 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.488e-06/1.05, allocations: 7.812 kB / 0.8343 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.902e-06/1.05, allocations: 0 / 0.8343 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.052, allocations: 1.226 MB / 0.8355 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.025e-06/1.052, allocations: 3.953 kB / 0.8355 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008133/1.053, allocations: 108.3 kB / 0.8356 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.962e-06/1.053, allocations: 3.938 kB / 0.8356 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/1.053, allocations: 11.34 kB / 0.8357 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-06/1.053, allocations: 3.844 kB / 0.8357 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-06/1.053, allocations: 0 / 0.8357 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/1.054, allocations: 0.7513 MB / 0.8364 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/1.055, allocations: 188.9 kB / 0.8366 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.055, allocations: 11.2 kB / 0.8366 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/1.055, allocations: 53.62 kB / 0.8366 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.055, allocations: 33.83 kB / 0.8367 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/1.055, allocations: 18.33 kB / 0.8367 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004305/1.056, allocations: 308.1 kB / 0.837 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.8e-07/1.056, allocations: 0 / 0.837 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006099/1.057, allocations: 152.5 kB / 0.8371 GB, free: 4.613 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.0001699/1.057, allocations: 123.6 kB / 0.8372 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000868/1.058, allocations: 457.7 kB / 0.8377 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.922e-06/1.058, allocations: 4 kB / 0.8377 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/1.058, allocations: 206 kB / 0.8379 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008783/1.059, allocations: 132.1 kB / 0.838 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/1.062, allocations: 1.269 MB / 0.8392 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/1.063, allocations: 0.9082 MB / 0.8401 GB, free: 18.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004472/1.063, allocations: 58.81 kB / 0.8402 GB, free: 18.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/1.064, allocations: 42.39 kB / 0.8402 GB, free: 18.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.795e-06/1.064, allocations: 0 / 0.8402 GB, free: 18.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.01712/1.081, allocations: 6.202 MB / 0.8463 GB, free: 14.8 MB / 0.6511 GB