Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadModel(Buildings): time 3.683/3.683, allocations: 402 MB / 415.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.436e-05, allocations: 7.984 kB / 0.5004 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 92.68 MB / 0.5909 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.643/0.8085, allocations: 123.3 MB / 0.7113 GB, free: 3.172 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.8088, allocations: 91.94 kB / 0.7114 GB, free: 3.082 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04745/0.8563, allocations: 13.4 MB / 0.7244 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.045e-06/0.8563, allocations: 0 / 0.7244 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.215e-05/0.8564, allocations: 32.58 kB / 0.7245 GB, free: 5.629 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.00213/0.8585, allocations: 0.9771 MB / 0.7254 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8586, allocations: 8.031 kB / 0.7254 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.8589, allocations: 114.9 kB / 0.7256 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.8599, allocations: 0.5097 MB / 0.726 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.86, allocations: 89.98 kB / 0.7261 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.8603, allocations: 120 kB / 0.7262 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.8628, allocations: 1.166 MB / 0.7274 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.8628, allocations: 7.938 kB / 0.7274 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.863, allocations: 43.98 kB / 0.7274 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.863, allocations: 24 kB / 0.7275 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.8649, allocations: 0.7482 MB / 0.7282 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007024/0.872, allocations: 4.904 MB / 0.733 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.8735, allocations: 0.6514 MB / 0.7336 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.8736, allocations: 17.36 kB / 0.7336 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.8747, allocations: 0.5079 MB / 0.7341 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=92): time 4.129e-06/0.8748, allocations: 4 kB / 0.7341 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92): time 0.002533/0.8773, allocations: 1.007 MB / 0.7351 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.8775, allocations: 152.5 kB / 0.7353 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.8781, allocations: 419.8 kB / 0.7357 GB, free: 9.684 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.8783, allocations: 77.69 kB / 0.7357 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.8787, allocations: 384 kB / 0.7361 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.879, allocations: 217.4 kB / 0.7363 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.8791, allocations: 28 kB / 0.7363 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.8793, allocations: 378.8 kB / 0.7367 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007176/0.8801, allocations: 279.9 kB / 0.737 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.8812, allocations: 0.7127 MB / 0.7377 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.882, allocations: 344.2 kB / 0.738 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.882, allocations: 4 kB / 0.738 GB, free: 7.082 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002411/0.8845, allocations: 1.062 MB / 0.739 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.8845, allocations: 15.95 kB / 0.739 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.8846, allocations: 12 kB / 0.7391 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.543e-05/0.8846, allocations: 24 kB / 0.7391 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.8853, allocations: 155.5 kB / 0.7392 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.453e-05/0.8853, allocations: 35.86 kB / 0.7393 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.8861, allocations: 115.7 kB / 0.7394 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.8862, allocations: 60 kB / 0.7394 GB, free: 5.609 MB / 0.6042 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.0007292/0.8869, allocations: 359.4 kB / 0.7398 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.8871, allocations: 67.31 kB / 0.7398 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.8892, allocations: 0.861 MB / 0.7407 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.8892, allocations: 12 kB / 0.7407 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.851e-06/0.8892, allocations: 0 / 0.7407 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.8892, allocations: 7.984 kB / 0.7407 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.8936, allocations: 2.292 MB / 0.7429 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.8936, allocations: 0 / 0.7429 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.8939, allocations: 59.77 kB / 0.743 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.8939, allocations: 4 kB / 0.743 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.894, allocations: 23.98 kB / 0.743 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.894, allocations: 12 kB / 0.743 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.662e-06/0.894, allocations: 3.953 kB / 0.743 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.896, allocations: 1.156 MB / 0.7442 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8962, allocations: 132.2 kB / 0.7443 GB, free: 460 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.8964, allocations: 31.98 kB / 0.7443 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.897, allocations: 55.94 kB / 0.7444 GB, free: 372 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.8973, allocations: 107.8 kB / 0.7445 GB, free: 264 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/0.8974, allocations: 43.95 kB / 0.7445 GB, free: 220 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003875/0.8978, allocations: 239.2 kB / 0.7447 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8978, allocations: 0 / 0.7447 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001203/0.899, allocations: 191.9 kB / 0.7449 GB, free: 15.79 MB / 0.6198 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.0003242/0.8994, allocations: 182.9 kB / 0.7451 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.9013, allocations: 0.824 MB / 0.7459 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.269e-06/0.9013, allocations: 4.125 kB / 0.7459 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.9022, allocations: 422.4 kB / 0.7463 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.903, allocations: 103.3 kB / 0.7464 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.9063, allocations: 1.569 MB / 0.7479 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.9072, allocations: 0.9844 MB / 0.7489 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005509/0.9077, allocations: 110.8 kB / 0.749 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.908, allocations: 79.41 kB / 0.7491 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.783e-06/0.908, allocations: 4 kB / 0.7491 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.02277/0.9308, allocations: 7.609 MB / 0.7565 GB, free: 3.922 MB / 0.6198 GB