Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 3.479/3.479, allocations: 402 MB / 416 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.063e-05, allocations: 4 kB / 0.5003 GB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1698, allocations: 92.68 MB / 0.5908 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5972/0.767, allocations: 126.9 MB / 0.7148 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.7674, allocations: 75.97 kB / 0.7149 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04822/0.8156, allocations: 12.63 MB / 0.7272 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.42e-06/0.8156, allocations: 4 kB / 0.7272 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.324e-05/0.8157, allocations: 12 kB / 0.7272 GB, free: 2.695 MB / 0.5886 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.001753/0.8175, allocations: 0.877 MB / 0.7281 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.8175, allocations: 8.031 kB / 0.7281 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.8177, allocations: 90.91 kB / 0.7282 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.8188, allocations: 0.529 MB / 0.7287 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.8189, allocations: 49.75 kB / 0.7287 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.819, allocations: 56 kB / 0.7288 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.8207, allocations: 0.6638 MB / 0.7295 GB, free: 300 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.8207, allocations: 0 / 0.7295 GB, free: 300 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.8208, allocations: 27.94 kB / 0.7295 GB, free: 272 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.8208, allocations: 12 kB / 0.7295 GB, free: 260 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.8224, allocations: 0.5244 MB / 0.73 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.827, allocations: 2.107 MB / 0.7321 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.8286, allocations: 0.5356 MB / 0.7326 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.8287, allocations: 4.438 kB / 0.7326 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000833/0.8296, allocations: 301.3 kB / 0.7329 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 3.945e-06/0.8296, allocations: 0 / 0.7329 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.003175/0.8328, allocations: 0.7093 MB / 0.7336 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.833, allocations: 158.7 kB / 0.7337 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.8343, allocations: 401.2 kB / 0.7341 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.8345, allocations: 37.7 kB / 0.7341 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.8351, allocations: 321.1 kB / 0.7344 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.8354, allocations: 165.6 kB / 0.7346 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.8355, allocations: 8 kB / 0.7346 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003064/0.8358, allocations: 374.7 kB / 0.735 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.8369, allocations: 197 kB / 0.7352 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.8381, allocations: 319.5 kB / 0.7355 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8394, allocations: 256.4 kB / 0.7357 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8394, allocations: 0 / 0.7357 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002819/0.8422, allocations: 0.6248 MB / 0.7363 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005385/0.8428, allocations: 0.6475 MB / 0.7369 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8428, allocations: 0 / 0.7369 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/0.8429, allocations: 4 kB / 0.7369 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.8438, allocations: 123.8 kB / 0.7371 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.8438, allocations: 8 kB / 0.7371 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.8444, allocations: 83.55 kB / 0.7372 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.8445, allocations: 19.95 kB / 0.7372 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.8445, allocations: 8 kB / 0.7372 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/0.8458, allocations: 0.495 MB / 0.7377 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.8458, allocations: 192 / 0.7377 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.8458, allocations: 8 kB / 0.7377 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.8464, allocations: 111.8 kB / 0.7378 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.8465, allocations: 8 kB / 0.7378 GB, free: 7.492 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.847, allocations: 67.64 kB / 0.7379 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.847, allocations: 19.94 kB / 0.7379 GB, free: 7.406 MB / 0.6042 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.0004962/0.8475, allocations: 215.5 kB / 0.7381 GB, free: 7.188 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8477, allocations: 59.3 kB / 0.7381 GB, free: 7.129 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.8479, allocations: 65.58 kB / 0.7382 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.763e-06/0.8479, allocations: 4 kB / 0.7382 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-06/0.8479, allocations: 0 / 0.7382 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.8479, allocations: 3.984 kB / 0.7382 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.8508, allocations: 1.326 MB / 0.7395 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.534e-06/0.8508, allocations: 0 / 0.7395 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.8515, allocations: 107.8 kB / 0.7396 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.8516, allocations: 4 kB / 0.7396 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.8516, allocations: 16 kB / 0.7396 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.237e-06/0.8517, allocations: 0 / 0.7396 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-06/0.8517, allocations: 0 / 0.7396 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.8539, allocations: 0.8852 MB / 0.7405 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.8543, allocations: 192.2 kB / 0.7407 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8544, allocations: 12 kB / 0.7407 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.8549, allocations: 55.86 kB / 0.7407 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.855, allocations: 36.38 kB / 0.7408 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.8551, allocations: 16 kB / 0.7408 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005666/0.8557, allocations: 318.8 kB / 0.7411 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.54e-07/0.8557, allocations: 0 / 0.7411 GB, free: 4.016 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009911/0.8567, allocations: 267.1 kB / 0.7413 GB, free: 3.754 MB / 0.6042 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.0002191/0.8569, allocations: 123.2 kB / 0.7415 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002191/0.8591, allocations: 0.8703 MB / 0.7423 GB, free: 2.727 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.8592, allocations: 4 kB / 0.7423 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.8599, allocations: 254.4 kB / 0.7426 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.8608, allocations: 131.7 kB / 0.7427 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.8651, allocations: 1.836 MB / 0.7445 GB, free: 488 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.8658, allocations: 0.9032 MB / 0.7454 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007157/0.8666, allocations: 96.48 kB / 0.7454 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.8667, allocations: 35.44 kB / 0.7455 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 4.007e-06/0.8668, allocations: 0 / 0.7455 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.03199/0.8988, allocations: 7.611 MB / 0.7529 GB, free: 7.879 MB / 0.6198 GB