Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadModel(Buildings): time 4.359/4.359, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.872e-05/4.883e-05, allocations: 4 kB / 0.5681 GB, free: 10.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2477, allocations: 106.2 MB / 0.6719 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.071, allocations: 139.7 MB / 0.8083 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.071, allocations: 81.11 kB / 0.8084 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06074/1.132, allocations: 17.4 MB / 0.8254 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.36e-06/1.132, allocations: 0 / 0.8254 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.54e-05/1.132, allocations: 26.89 kB / 0.8254 GB, free: 8.879 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.002375/1.135, allocations: 1.186 MB / 0.8266 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.135, allocations: 11.56 kB / 0.8266 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003916/1.135, allocations: 136.1 kB / 0.8267 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.136, allocations: 0.6072 MB / 0.8273 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/1.137, allocations: 94.75 kB / 0.8274 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/1.137, allocations: 126.8 kB / 0.8275 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/1.139, allocations: 1.109 MB / 0.8286 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.139, allocations: 3.953 kB / 0.8286 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/1.14, allocations: 48.56 kB / 0.8287 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/1.14, allocations: 31 kB / 0.8287 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/1.142, allocations: 0.7665 MB / 0.8294 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006597/1.148, allocations: 3.781 MB / 0.8331 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/1.15, allocations: 0.7623 MB / 0.8339 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/1.151, allocations: 339.7 kB / 0.8342 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/1.151, allocations: 12.42 kB / 0.8342 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009805/1.152, allocations: 0.4968 MB / 0.8347 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 4.06e-06/1.152, allocations: 0 / 0.8347 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.001778/1.154, allocations: 0.758 MB / 0.8354 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/1.154, allocations: 192.4 kB / 0.8356 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.155, allocations: 0.6883 MB / 0.8363 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.155, allocations: 59.52 kB / 0.8363 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/1.155, allocations: 474.5 kB / 0.8368 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/1.156, allocations: 234.1 kB / 0.837 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/1.156, allocations: 22.84 kB / 0.837 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/1.156, allocations: 341.7 kB / 0.8374 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/1.156, allocations: 267.9 kB / 0.8376 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.157, allocations: 0.5078 MB / 0.8381 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/1.158, allocations: 292.2 kB / 0.8384 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.584e-06/1.158, allocations: 0 / 0.8384 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00194/1.16, allocations: 0.8349 MB / 0.8392 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008544/1.161, allocations: 1.928 MB / 0.8411 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.161, allocations: 3.844 kB / 0.8411 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.161, allocations: 15.64 kB / 0.8411 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/1.162, allocations: 164.9 kB / 0.8413 GB, free: 17.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.162, allocations: 11.67 kB / 0.8413 GB, free: 17.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/1.163, allocations: 177.9 kB / 0.8415 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.163, allocations: 34.34 kB / 0.8415 GB, free: 16.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.163, allocations: 7.812 kB / 0.8415 GB, free: 16.95 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/1.164, allocations: 0.7269 MB / 0.8422 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.164, allocations: 7.688 kB / 0.8422 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.164, allocations: 11.7 kB / 0.8422 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/1.165, allocations: 153.7 kB / 0.8424 GB, free: 16.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.165, allocations: 15.84 kB / 0.8424 GB, free: 16.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/1.166, allocations: 157.9 kB / 0.8425 GB, free: 16.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.695e-05/1.166, allocations: 36.53 kB / 0.8426 GB, free: 16.75 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.0003337/1.167, allocations: 195.9 kB / 0.8428 GB, free: 16.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.167, allocations: 97.3 kB / 0.8429 GB, free: 16.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/1.169, allocations: 0.8366 MB / 0.8437 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.169, allocations: 7.688 kB / 0.8437 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.726e-06/1.169, allocations: 0 / 0.8437 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.169, allocations: 3.984 kB / 0.8437 GB, free: 16.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/1.173, allocations: 2.094 MB / 0.8457 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.173, allocations: 0 / 0.8457 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/1.174, allocations: 124.1 kB / 0.8458 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.174, allocations: 3.875 kB / 0.8458 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/1.174, allocations: 30.92 kB / 0.8459 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.273e-06/1.174, allocations: 3.844 kB / 0.8459 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.593e-06/1.174, allocations: 3.781 kB / 0.8459 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/1.176, allocations: 1.365 MB / 0.8472 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.177, allocations: 166.8 kB / 0.8474 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.177, allocations: 34.77 kB / 0.8474 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/1.178, allocations: 89.7 kB / 0.8475 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.178, allocations: 102.6 kB / 0.8476 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/1.178, allocations: 35.05 kB / 0.8476 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008251/1.179, allocations: 0.4997 MB / 0.8481 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.17e-07/1.179, allocations: 0 / 0.8481 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001328/1.18, allocations: 362.2 kB / 0.8485 GB, free: 14.7 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.0003019/1.18, allocations: 164.5 kB / 0.8486 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002507/1.183, allocations: 1.156 MB / 0.8497 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.003e-06/1.183, allocations: 0.5625 kB / 0.8497 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/1.184, allocations: 414 kB / 0.8501 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/1.185, allocations: 147.6 kB / 0.8503 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/1.188, allocations: 1.258 MB / 0.8515 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/1.189, allocations: 1.052 MB / 0.8525 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001147/1.19, allocations: 163.1 kB / 0.8527 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.19, allocations: 72.75 kB / 0.8528 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.78e-06/1.19, allocations: 0 / 0.8528 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.03073/1.221, allocations: 10.81 MB / 0.8633 GB, free: 3.141 MB / 0.6511 GB