Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadModel(Buildings): time 3.763/3.763, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.445e-05, allocations: 4 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4825, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.6841, allocations: 137 MB / 0.7234 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.6844, allocations: 103.9 kB / 0.7235 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07533/0.7598, allocations: 20.9 MB / 0.7439 GB, free: 224 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.931e-06/0.7598, allocations: 0 / 0.7439 GB, free: 224 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000111/0.76, allocations: 39.98 kB / 0.744 GB, free: 184 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.003128/0.7631, allocations: 1.306 MB / 0.7453 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7632, allocations: 16.03 kB / 0.7453 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.7636, allocations: 150.2 kB / 0.7454 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.7653, allocations: 0.733 MB / 0.7461 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.7654, allocations: 102.3 kB / 0.7462 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.7657, allocations: 132 kB / 0.7464 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.7688, allocations: 1.193 MB / 0.7475 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.7688, allocations: 7.891 kB / 0.7475 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.769, allocations: 51.98 kB / 0.7476 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.769, allocations: 32 kB / 0.7476 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.7715, allocations: 0.8519 MB / 0.7484 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/0.7806, allocations: 3.89 MB / 0.7522 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.7829, allocations: 0.8413 MB / 0.7531 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.7838, allocations: 363.2 kB / 0.7534 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.7839, allocations: 12.77 kB / 0.7534 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.7851, allocations: 480.4 kB / 0.7539 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 4.381e-06/0.7851, allocations: 0 / 0.7539 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.002249/0.7874, allocations: 0.8387 MB / 0.7547 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.7875, allocations: 171 kB / 0.7549 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7891, allocations: 0.7726 MB / 0.7556 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.7893, allocations: 66.12 kB / 0.7557 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.79, allocations: 0.5198 MB / 0.7562 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.7903, allocations: 256.5 kB / 0.7564 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.7904, allocations: 20 kB / 0.7565 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.7906, allocations: 349.9 kB / 0.7568 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.7915, allocations: 298.6 kB / 0.7571 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.7926, allocations: 0.5402 MB / 0.7576 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.7935, allocations: 343.1 kB / 0.7579 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.948e-06/0.7935, allocations: 0 / 0.7579 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002398/0.796, allocations: 0.9258 MB / 0.7588 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009827/0.797, allocations: 1.837 MB / 0.7606 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.797, allocations: 4 kB / 0.7606 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.797, allocations: 8 kB / 0.7606 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.7981, allocations: 179.7 kB / 0.7608 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.7982, allocations: 15.94 kB / 0.7608 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.7992, allocations: 174.9 kB / 0.761 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.7994, allocations: 39.98 kB / 0.761 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7994, allocations: 8 kB / 0.761 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/0.8014, allocations: 0.7891 MB / 0.7618 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8015, allocations: 8.094 kB / 0.7618 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.8015, allocations: 16 kB / 0.7618 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.8024, allocations: 171.7 kB / 0.762 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.8024, allocations: 8 kB / 0.762 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.8034, allocations: 155.1 kB / 0.7621 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8035, allocations: 36 kB / 0.7622 GB, free: 12.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0003697/0.8039, allocations: 208 kB / 0.7624 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.8042, allocations: 114.5 kB / 0.7625 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.8066, allocations: 0.9336 MB / 0.7634 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.8066, allocations: 8 kB / 0.7634 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.009e-06/0.8066, allocations: 0 / 0.7634 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.8067, allocations: 7.984 kB / 0.7634 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.8117, allocations: 2.332 MB / 0.7657 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.8118, allocations: 3.984 kB / 0.7657 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/0.8126, allocations: 131.8 kB / 0.7658 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/0.8127, allocations: 4 kB / 0.7658 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.285e-05/0.8128, allocations: 27.97 kB / 0.7659 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.8128, allocations: 7.938 kB / 0.7659 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.851e-06/0.8128, allocations: 4.031 kB / 0.7659 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.8161, allocations: 1.496 MB / 0.7673 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.8169, allocations: 279.6 kB / 0.7676 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.8171, allocations: 28 kB / 0.7676 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.8179, allocations: 87.98 kB / 0.7677 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.8182, allocations: 116.5 kB / 0.7678 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8184, allocations: 39.97 kB / 0.7678 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00114/0.8195, allocations: 0.5671 MB / 0.7684 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.274e-06/0.8195, allocations: 4 kB / 0.7684 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001512/0.8211, allocations: 391.2 kB / 0.7688 GB, free: 5.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003334/0.8214, allocations: 166.9 kB / 0.7689 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.8245, allocations: 1.274 MB / 0.7702 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.079e-06/0.8246, allocations: 0 / 0.7702 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.8257, allocations: 450.8 kB / 0.7706 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.827, allocations: 209.8 kB / 0.7708 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.8307, allocations: 1.448 MB / 0.7722 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009872/0.8318, allocations: 1.108 MB / 0.7733 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00139/0.8332, allocations: 204.4 kB / 0.7735 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.8335, allocations: 71.41 kB / 0.7736 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of SimCode: time 2.088e-06/0.8335, allocations: 0 / 0.7736 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of Templates: time 0.4567/1.29, allocations: 13.12 MB / 0.7864 GB, free: 163.3 MB / 0.6511 GB