Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadModel(Buildings): time 4.37/4.37, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.169e-05, allocations: 8 kB / 0.5731 GB, free: 5.699 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7124/0.9068, allocations: 139.7 MB / 0.8142 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.9072, allocations: 76.59 kB / 0.8143 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09148/0.9987, allocations: 16.63 MB / 0.8305 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.252e-06/0.9988, allocations: 0 / 0.8305 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001524/0.9989, allocations: 27.22 kB / 0.8305 GB, free: 7.902 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004625/1.004, allocations: 1.175 MB / 0.8317 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/1.004, allocations: 7.719 kB / 0.8317 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006516/1.004, allocations: 135.5 kB / 0.8318 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/1.006, allocations: 0.5926 MB / 0.8324 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.007, allocations: 96.81 kB / 0.8325 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005002/1.007, allocations: 123.5 kB / 0.8326 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/1.012, allocations: 1.103 MB / 0.8337 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/1.012, allocations: 3.844 kB / 0.8337 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/1.013, allocations: 44.75 kB / 0.8337 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.013, allocations: 30.72 kB / 0.8338 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/1.016, allocations: 0.7658 MB / 0.8345 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/1.023, allocations: 3.761 MB / 0.8382 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/1.025, allocations: 0.7711 MB / 0.8389 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/1.026, allocations: 346.5 kB / 0.8393 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.1e-05/1.026, allocations: 12.28 kB / 0.8393 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/1.027, allocations: 497.2 kB / 0.8398 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 4.249e-06/1.027, allocations: 0 / 0.8398 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.001734/1.029, allocations: 0.764 MB / 0.8405 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.029, allocations: 199.2 kB / 0.8407 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.03, allocations: 0.6728 MB / 0.8414 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/1.03, allocations: 67.97 kB / 0.8414 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/1.03, allocations: 463.8 kB / 0.8419 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.031, allocations: 234.1 kB / 0.8421 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/1.031, allocations: 19.41 kB / 0.8421 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/1.031, allocations: 346.8 kB / 0.8424 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/1.031, allocations: 268.6 kB / 0.8427 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/1.032, allocations: 0.5026 MB / 0.8432 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/1.033, allocations: 288.9 kB / 0.8435 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-06/1.033, allocations: 3.844 kB / 0.8435 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00194/1.035, allocations: 0.8367 MB / 0.8443 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008603/1.036, allocations: 1.934 MB / 0.8462 GB, free: 16.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.036, allocations: 3.844 kB / 0.8462 GB, free: 16.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/1.036, allocations: 11.53 kB / 0.8462 GB, free: 16.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/1.037, allocations: 160.5 kB / 0.8463 GB, free: 16.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.037, allocations: 19.94 kB / 0.8463 GB, free: 16.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009306/1.038, allocations: 168 kB / 0.8465 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.038, allocations: 42.69 kB / 0.8466 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.038, allocations: 4 kB / 0.8466 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001666/1.04, allocations: 0.7225 MB / 0.8473 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.04, allocations: 4 kB / 0.8473 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.04, allocations: 8.656 kB / 0.8473 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/1.041, allocations: 158.7 kB / 0.8474 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.041, allocations: 11.98 kB / 0.8474 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/1.041, allocations: 165 kB / 0.8476 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/1.042, allocations: 34.56 kB / 0.8476 GB, free: 15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.000332/1.042, allocations: 204 kB / 0.8478 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/1.042, allocations: 98.58 kB / 0.8479 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/1.044, allocations: 0.8265 MB / 0.8487 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.044, allocations: 8 kB / 0.8487 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.73e-06/1.044, allocations: 0 / 0.8487 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/1.044, allocations: 7.984 kB / 0.8487 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/1.049, allocations: 2.081 MB / 0.8508 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/1.049, allocations: 4.125 kB / 0.8508 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/1.049, allocations: 119 kB / 0.8509 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/1.049, allocations: 4.094 kB / 0.8509 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-05/1.049, allocations: 26.67 kB / 0.8509 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.904e-06/1.049, allocations: 4 kB / 0.8509 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.48e-06/1.05, allocations: 7.938 kB / 0.8509 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/1.052, allocations: 1.368 MB / 0.8523 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/1.053, allocations: 182.3 kB / 0.8524 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.053, allocations: 24.75 kB / 0.8525 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.054, allocations: 90.98 kB / 0.8525 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.054, allocations: 106 kB / 0.8526 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.054, allocations: 31.05 kB / 0.8527 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009336/1.055, allocations: 0.5006 MB / 0.8532 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.91e-07/1.055, allocations: 0 / 0.8532 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001463/1.057, allocations: 355.6 kB / 0.8535 GB, free: 10.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.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 (88): * Single equations (assignments): 80 * 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.0003387/1.057, allocations: 161 kB / 0.8537 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.06, allocations: 1.151 MB / 0.8548 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.06, allocations: 0 / 0.8548 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000975/1.061, allocations: 414.5 kB / 0.8552 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/1.062, allocations: 135.4 kB / 0.8553 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/1.065, allocations: 1.259 MB / 0.8565 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/1.066, allocations: 1.048 MB / 0.8576 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001184/1.067, allocations: 159 kB / 0.8577 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.068, allocations: 78.72 kB / 0.8578 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of SimCode: time 2.161e-06/1.068, allocations: 0 / 0.8578 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.03248/1.1, allocations: 10.61 MB / 0.8681 GB, free: 12.2 MB / 0.6667 GB