Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadModel(Buildings): time 4.331/4.331, allocations: 464.6 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.835e-05, allocations: 4.938 kB / 0.5731 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2457, allocations: 107.2 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6912/0.937, allocations: 133.7 MB / 0.8083 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9372, allocations: 73.02 kB / 0.8084 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04675/0.984, allocations: 13.91 MB / 0.822 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.203e-06/0.9841, allocations: 0 / 0.822 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.219e-05/0.9841, allocations: 31.56 kB / 0.822 GB, free: 10.29 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00214/0.9863, allocations: 1.03 MB / 0.823 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9863, allocations: 7.688 kB / 0.823 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.9866, allocations: 116.9 kB / 0.8232 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.9875, allocations: 0.5227 MB / 0.8237 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.9878, allocations: 216.8 kB / 0.8239 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.988, allocations: 126.6 kB / 0.824 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.9902, allocations: 1.159 MB / 0.8251 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.9903, allocations: 7.844 kB / 0.8251 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.9904, allocations: 46.17 kB / 0.8252 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.9904, allocations: 26.75 kB / 0.8252 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.9921, allocations: 0.6974 MB / 0.8259 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.9983, allocations: 4.979 MB / 0.8307 GB, free: 20.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.9996, allocations: 0.6354 MB / 0.8314 GB, free: 20.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/1, allocations: 348.5 kB / 0.8317 GB, free: 20.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/1, allocations: 19.48 kB / 0.8317 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009866/1.001, allocations: 0.5132 MB / 0.8322 GB, free: 20.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 4.961e-06/1.001, allocations: 0 / 0.8322 GB, free: 20.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.001827/1.003, allocations: 0.7599 MB / 0.833 GB, free: 20.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.003, allocations: 146.9 kB / 0.8331 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/1.004, allocations: 422.1 kB / 0.8335 GB, free: 19.94 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.004, allocations: 78.34 kB / 0.8336 GB, free: 19.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/1.004, allocations: 407.1 kB / 0.834 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/1.005, allocations: 205 kB / 0.8342 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/1.005, allocations: 30 kB / 0.8342 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.005, allocations: 384.5 kB / 0.8346 GB, free: 19.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/1.006, allocations: 282.6 kB / 0.8348 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/1.007, allocations: 0.7046 MB / 0.8355 GB, free: 18.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/1.007, allocations: 344.1 kB / 0.8358 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.007, allocations: 15.72 kB / 0.8359 GB, free: 18.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002263/1.01, allocations: 1.018 MB / 0.8369 GB, free: 18.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.01, allocations: 11.53 kB / 0.8369 GB, free: 18.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.01, allocations: 19 kB / 0.8369 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.01, allocations: 26.42 kB / 0.8369 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/1.011, allocations: 175.5 kB / 0.8371 GB, free: 18.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-05/1.011, allocations: 30.98 kB / 0.8371 GB, free: 18.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/1.012, allocations: 122.6 kB / 0.8372 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/1.012, allocations: 63.86 kB / 0.8373 GB, free: 18.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,truHol.initialStep.active,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,truHol1.initialStep.active,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,truHol2.initialStep.active,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol2.onDelay.t_next,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,truHol3.initialStep.active,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0003471/1.012, allocations: 261.4 kB / 0.8375 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.012, allocations: 73.58 kB / 0.8376 GB, free: 17.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/1.014, allocations: 0.8452 MB / 0.8384 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.014, allocations: 11.62 kB / 0.8384 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-06/1.014, allocations: 4 kB / 0.8384 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.014, allocations: 3.984 kB / 0.8384 GB, free: 17.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/1.018, allocations: 2.334 MB / 0.8407 GB, free: 16.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.802e-06/1.018, allocations: 3.875 kB / 0.8407 GB, free: 16.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/1.019, allocations: 55.98 kB / 0.8408 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/1.019, allocations: 3.844 kB / 0.8408 GB, free: 16.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/1.019, allocations: 29.81 kB / 0.8408 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/1.019, allocations: 7.656 kB / 0.8408 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-06/1.019, allocations: 3.812 kB / 0.8408 GB, free: 16.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/1.021, allocations: 1.152 MB / 0.842 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.021, allocations: 135.3 kB / 0.8421 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.021, allocations: 28.83 kB / 0.8421 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/1.021, allocations: 60.23 kB / 0.8422 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/1.022, allocations: 99.61 kB / 0.8423 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.707e-05/1.022, allocations: 53.39 kB / 0.8423 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003359/1.022, allocations: 242.1 kB / 0.8425 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.67e-07/1.022, allocations: 0 / 0.8425 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001225/1.023, allocations: 211 kB / 0.8427 GB, free: 15.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 88 (truHol3.onDelay.u,truHol3.outputTrue.localActive,truHol3.outputTrue.active,truHol3.initialStep.active,$cse7,$cse8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.y,truHol3.onDelay.t_next,truHol3.initialStep.localActive,truHol3.initialStep.newActive,truHol3.initialStep.oldActive,truHol3.outputTrue.newActive,truHol3.outputTrue.oldActive,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol2.onDelay.u,truHol2.outputTrue.localActive,truHol2.outputTrue.active,truHol2.initialStep.active,$cse5,$cse6,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.y,truHol2.onDelay.t_next,truHol2.initialStep.localActive,truHol2.initialStep.newActive,truHol2.initialStep.oldActive,truHol2.outputTrue.newActive,truHol2.outputTrue.oldActive,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol1.onDelay.u,truHol1.outputTrue.localActive,truHol1.outputTrue.active,truHol1.initialStep.active,$cse3,$cse4,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,booPul1.y,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.y,truHol1.onDelay.t_next,truHol1.initialStep.localActive,truHol1.initialStep.newActive,truHol1.initialStep.oldActive,truHol1.outputTrue.newActive,truHol1.outputTrue.oldActive,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol.onDelay.u,truHol.outputTrue.localActive,truHol.outputTrue.active,truHol.initialStep.active,$cse1,$cse2,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,booPul.y,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.y,truHol.onDelay.t_next,truHol.initialStep.localActive,truHol.initialStep.newActive,truHol.initialStep.oldActive,truHol.outputTrue.newActive,truHol.outputTrue.oldActive,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire) * Number of discrete states: 12 (truHol.onDelay.t_next,truHol.initialStep.newActive,truHol.outputTrue.newActive,truHol1.onDelay.t_next,truHol1.initialStep.newActive,truHol1.outputTrue.newActive,truHol2.onDelay.t_next,truHol2.initialStep.newActive,truHol2.outputTrue.newActive,truHol3.onDelay.t_next,truHol3.initialStep.newActive,truHol3.outputTrue.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0003179/1.024, allocations: 181.8 kB / 0.8429 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.026, allocations: 0.8011 MB / 0.8437 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.802e-06/1.026, allocations: 0 / 0.8437 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/1.026, allocations: 417.2 kB / 0.8441 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/1.027, allocations: 102 kB / 0.8442 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/1.03, allocations: 1.046 MB / 0.8452 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/1.031, allocations: 0.9972 MB / 0.8462 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005898/1.031, allocations: 108.6 kB / 0.8463 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/1.032, allocations: 79.22 kB / 0.8464 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.131e-06/1.032, allocations: 0 / 0.8464 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.02406/1.056, allocations: 8.033 MB / 0.8542 GB, free: 7.066 MB / 0.6511 GB