Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 464.7 MB / 476.8 MB, free: 2.117 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.917e-05, allocations: 8 kB / 0.5731 GB, free: 5.707 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.199, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7683/0.9673, allocations: 132.1 MB / 0.8068 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.9676, allocations: 70.42 kB / 0.8069 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007734/0.9754, allocations: 2.078 MB / 0.8089 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9754, allocations: 5.859 kB / 0.8089 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.9754, allocations: 3.844 kB / 0.8089 GB, free: 12.07 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006866/0.9761, allocations: 456 kB / 0.8093 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.9762, allocations: 11.69 kB / 0.8094 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.016e-05/0.9763, allocations: 21.11 kB / 0.8094 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.9764, allocations: 185.4 kB / 0.8096 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.9765, allocations: 82.44 kB / 0.8096 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.9766, allocations: 28.31 kB / 0.8097 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.977, allocations: 197.2 kB / 0.8098 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9771, allocations: 0 / 0.8098 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.9771, allocations: 14.47 kB / 0.8099 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-06/0.9771, allocations: 4 kB / 0.8099 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.9774, allocations: 102.1 kB / 0.81 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.9783, allocations: 0.5374 MB / 0.8105 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/0.9791, allocations: 343.9 kB / 0.8108 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.9794, allocations: 141.6 kB / 0.8109 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.9795, allocations: 4.219 kB / 0.811 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000822/0.9803, allocations: 0.4884 MB / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 4.355e-06/0.9803, allocations: 0 / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.0009549/0.9813, allocations: 440.8 kB / 0.8119 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.9813, allocations: 59.31 kB / 0.8119 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.9815, allocations: 140.7 kB / 0.812 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.9816, allocations: 50.06 kB / 0.8121 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.9816, allocations: 114.1 kB / 0.8122 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.9817, allocations: 94.28 kB / 0.8123 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.9818, allocations: 14.81 kB / 0.8123 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.9819, allocations: 335.9 kB / 0.8126 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.9822, allocations: 127.7 kB / 0.8127 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.9826, allocations: 207.8 kB / 0.8129 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.9828, allocations: 92 kB / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-06/0.9828, allocations: 3.875 kB / 0.813 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008078/0.9836, allocations: 368.3 kB / 0.8134 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9837, allocations: 7.766 kB / 0.8134 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.9837, allocations: 4.094 kB / 0.8134 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.9837, allocations: 7.812 kB / 0.8134 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.9839, allocations: 41.8 kB / 0.8134 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.984, allocations: 3.969 kB / 0.8134 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.9842, allocations: 28.17 kB / 0.8135 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.9843, allocations: 19.12 kB / 0.8135 GB, free: 10.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.clr,falCle.clr,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.clr,truCle.clr,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.clr,iniFalOut.clr,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.clr,iniTruOut.clr,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001758/0.9845, allocations: 158 kB / 0.8136 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.9846, allocations: 30 kB / 0.8137 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.9847, allocations: 42.36 kB / 0.8137 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.528e-06/0.9847, allocations: 7.812 kB / 0.8137 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.637e-06/0.9847, allocations: 0 / 0.8137 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.651e-06/0.9847, allocations: 3.047 kB / 0.8137 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.986, allocations: 0.842 MB / 0.8145 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.986, allocations: 0 / 0.8145 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.9861, allocations: 14.88 kB / 0.8146 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.861e-06/0.9861, allocations: 6.531 kB / 0.8146 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.9862, allocations: 24.41 kB / 0.8146 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.9862, allocations: 3.938 kB / 0.8146 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9862, allocations: 0 / 0.8146 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.9871, allocations: 0.5342 MB / 0.8151 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.9872, allocations: 92.7 kB / 0.8152 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.9873, allocations: 31.77 kB / 0.8152 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.9876, allocations: 26.92 kB / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.9878, allocations: 83.58 kB / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.9879, allocations: 29.17 kB / 0.8154 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.733e-05/0.9879, allocations: 103.3 kB / 0.8155 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.42e-07/0.988, allocations: 0 / 0.8155 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005098/0.9885, allocations: 76.69 kB / 0.8155 GB, free: 9.289 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.clr,falCle.y,truCle.u,truCle.clr,truCle.y,iniFalOut.u,iniFalOut.clr,iniFalOut.y,iniTruOut.u,iniTruOut.clr,iniTruOut.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 18 (iniTruOut.u,iniTruOut.clr,iniFalOut.u,iniFalOut.clr,truCle.u,truCle.clr,falCle.u,falCle.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.0002128/0.9887, allocations: 147.1 kB / 0.8157 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.9895, allocations: 364.5 kB / 0.816 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.104e-06/0.9895, allocations: 224 / 0.816 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.9899, allocations: 259.4 kB / 0.8163 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.9903, allocations: 28.28 kB / 0.8163 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.9914, allocations: 401.8 kB / 0.8167 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.9919, allocations: 0.7424 MB / 0.8174 GB, free: 24.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000173/0.9921, allocations: 34.42 kB / 0.8174 GB, free: 24.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.9923, allocations: 42.36 kB / 0.8175 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of SimCode: time 1.512e-06/0.9923, allocations: 7.844 kB / 0.8175 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.009031/1.001, allocations: 3.358 MB / 0.8208 GB, free: 24.1 MB / 0.6511 GB