Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(Buildings): time 4.411/4.411, allocations: 431.3 MB / 445.8 MB, free: 5.363 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.778e-05, allocations: 4 kB / 0.5354 GB, free: 14.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6426, allocations: 98.71 MB / 0.6318 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005996/0.6486, allocations: 3.346 MB / 0.6351 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.6527, allocations: 1.166 MB / 0.6362 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.6538, allocations: 43.88 kB / 0.6362 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.6544, allocations: 59.36 kB / 0.6363 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.656, allocations: 199.3 kB / 0.6365 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.6577, allocations: 299.5 kB / 0.6368 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.6597, allocations: 0.4962 MB / 0.6373 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.6606, allocations: 225.7 kB / 0.6375 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.6613, allocations: 207.3 kB / 0.6377 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.6618, allocations: 207.1 kB / 0.6379 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.6619, allocations: 20 kB / 0.6379 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.662, allocations: 23.94 kB / 0.6379 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.6622, allocations: 91.48 kB / 0.638 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.6623, allocations: 48 kB / 0.638 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.6635, allocations: 0.801 MB / 0.6388 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6635, allocations: 4 kB / 0.6388 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6636, allocations: 0 / 0.6388 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.6636, allocations: 0 / 0.6388 GB, free: 4.676 MB / 0.5105 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.002418/0.666, allocations: 0.8791 MB / 0.6397 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6661, allocations: 12.03 kB / 0.6397 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.6663, allocations: 86.92 kB / 0.6398 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6677, allocations: 0.5368 MB / 0.6403 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.6677, allocations: 41.31 kB / 0.6403 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.6679, allocations: 60 kB / 0.6404 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6697, allocations: 0.6036 MB / 0.641 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.6698, allocations: 7.984 kB / 0.641 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.6699, allocations: 24 kB / 0.641 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.6699, allocations: 16 kB / 0.641 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.6716, allocations: 465 kB / 0.6415 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004669/0.6763, allocations: 2.02 MB / 0.6435 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.6779, allocations: 449.4 kB / 0.6439 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.678, allocations: 12.36 kB / 0.6439 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.6789, allocations: 269.3 kB / 0.6442 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.557e-06/0.6789, allocations: 0 / 0.6442 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.00233/0.6812, allocations: 0.6002 MB / 0.6447 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.6813, allocations: 59.78 kB / 0.6448 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.6821, allocations: 393.1 kB / 0.6452 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.6822, allocations: 33.7 kB / 0.6452 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.6825, allocations: 324.3 kB / 0.6455 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.6828, allocations: 165.6 kB / 0.6457 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.6828, allocations: 16 kB / 0.6457 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.683, allocations: 370.7 kB / 0.646 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/0.6837, allocations: 169 kB / 0.6462 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/0.6845, allocations: 249.8 kB / 0.6464 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.6853, allocations: 231.8 kB / 0.6467 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6853, allocations: 4 kB / 0.6467 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001906/0.6872, allocations: 0.5663 MB / 0.6472 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003927/0.6877, allocations: 0.8214 MB / 0.648 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.6877, allocations: 4 kB / 0.648 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.6877, allocations: 4 kB / 0.648 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.6888, allocations: 115.8 kB / 0.6481 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.6889, allocations: 4 kB / 0.6481 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.6896, allocations: 75.5 kB / 0.6482 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.6897, allocations: 19.95 kB / 0.6482 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6897, allocations: 4 kB / 0.6482 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/0.6913, allocations: 0.4911 MB / 0.6487 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6914, allocations: 0 / 0.6487 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6914, allocations: 4 kB / 0.6487 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.6923, allocations: 116.1 kB / 0.6488 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.6923, allocations: 4 kB / 0.6488 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.693, allocations: 63.56 kB / 0.6489 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.693, allocations: 16 kB / 0.6489 GB, free: 9.973 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,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 (65): * Single equations (assignments): 64 * 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.0004995/0.6936, allocations: 220.5 kB / 0.6491 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6937, allocations: 59.3 kB / 0.6492 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000182/0.6939, allocations: 61.59 kB / 0.6492 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.6939, allocations: 4 kB / 0.6492 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.694, allocations: 0 / 0.6492 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.694, allocations: 3.984 kB / 0.6492 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.6971, allocations: 1.193 MB / 0.6504 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6971, allocations: 0 / 0.6504 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.6981, allocations: 95.88 kB / 0.6505 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.6981, allocations: 0 / 0.6505 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.6982, allocations: 12 kB / 0.6505 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.6982, allocations: 4 kB / 0.6505 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6982, allocations: 7.984 kB / 0.6505 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.7009, allocations: 0.7718 MB / 0.6513 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.7015, allocations: 180.2 kB / 0.6514 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.7016, allocations: 15.92 kB / 0.6515 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.7023, allocations: 31.98 kB / 0.6515 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.7025, allocations: 36.38 kB / 0.6515 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.7026, allocations: 12 kB / 0.6515 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006622/0.7033, allocations: 306.9 kB / 0.6518 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.11e-07/0.7033, allocations: 0 / 0.6518 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001288/0.7046, allocations: 255 kB / 0.6521 GB, free: 6.633 MB / 0.5261 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.trigger.y,$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 (49): * Single equations (assignments): 47 * 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.0002881/0.705, allocations: 119.2 kB / 0.6522 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.7078, allocations: 0.804 MB / 0.653 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.7079, allocations: 0 / 0.653 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.7088, allocations: 218.4 kB / 0.6532 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.7102, allocations: 138.5 kB / 0.6533 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.715, allocations: 1.625 MB / 0.6549 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.7156, allocations: 0.907 MB / 0.6558 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008691/0.7165, allocations: 96.53 kB / 0.6559 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7167, allocations: 35.42 kB / 0.6559 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/0.7167, allocations: 0 / 0.6559 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of Templates: time 0.02193/0.7387, allocations: 6.701 MB / 0.6625 GB, free: 11.98 MB / 0.5417 GB