Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadModel(Buildings): time 3.734/3.734, allocations: 402 MB / 415.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.456e-05, allocations: 4 kB / 0.5004 GB, free: 8.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1818, allocations: 92.69 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6/0.7818, allocations: 121.1 MB / 0.7092 GB, free: 5.297 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.7822, allocations: 87.95 kB / 0.7092 GB, free: 5.211 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003735/0.7859, allocations: 1.057 MB / 0.7103 GB, free: 4.16 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.352e-06/0.7859, allocations: 0 / 0.7103 GB, free: 4.16 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.786, allocations: 4 kB / 0.7103 GB, free: 4.156 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005743/0.7865, allocations: 383.3 kB / 0.7106 GB, free: 3.734 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7866, allocations: 8.031 kB / 0.7106 GB, free: 3.727 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.7867, allocations: 11.89 kB / 0.7107 GB, free: 3.715 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7868, allocations: 174.9 kB / 0.7108 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.7869, allocations: 38.44 kB / 0.7109 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.787, allocations: 12 kB / 0.7109 GB, free: 3.449 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.7872, allocations: 77.64 kB / 0.7109 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.955e-06/0.7872, allocations: 0 / 0.7109 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.7873, allocations: 7.984 kB / 0.711 GB, free: 3.359 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-06/0.7873, allocations: 0 / 0.711 GB, free: 3.359 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.7874, allocations: 51.86 kB / 0.711 GB, free: 3.309 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.7882, allocations: 344.8 kB / 0.7113 GB, free: 2.922 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.7885, allocations: 91.64 kB / 0.7114 GB, free: 2.824 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.7885, allocations: 4 kB / 0.7114 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.7889, allocations: 175.2 kB / 0.7116 GB, free: 2.637 MB / 0.573 GB Notification: Performance of pre-optimization done (n=14): time 2.761e-06/0.7889, allocations: 0 / 0.7116 GB, free: 2.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=14): time 0.0005114/0.7894, allocations: 197.8 kB / 0.7118 GB, free: 2.438 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.7895, allocations: 51.41 kB / 0.7118 GB, free: 2.375 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.7896, allocations: 113.2 kB / 0.7119 GB, free: 2.254 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.7897, allocations: 29.7 kB / 0.712 GB, free: 2.219 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.7897, allocations: 96.06 kB / 0.7121 GB, free: 2.121 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.7898, allocations: 33.88 kB / 0.7121 GB, free: 2.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.7898, allocations: 0 / 0.7121 GB, free: 2.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.79, allocations: 322.8 kB / 0.7124 GB, free: 1.766 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.7901, allocations: 43.98 kB / 0.7124 GB, free: 1.723 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.7903, allocations: 75.41 kB / 0.7125 GB, free: 1.637 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.7904, allocations: 30.5 kB / 0.7125 GB, free: 1.609 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-06/0.7904, allocations: 0 / 0.7125 GB, free: 1.609 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003406/0.7908, allocations: 137.4 kB / 0.7127 GB, free: 1.469 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7908, allocations: 12.09 kB / 0.7127 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.872e-06/0.7908, allocations: 0 / 0.7127 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7908, allocations: 7.922 kB / 0.7127 GB, free: 1.449 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.7909, allocations: 12 kB / 0.7127 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.791, allocations: 4 kB / 0.7127 GB, free: 1.434 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.7911, allocations: 11.98 kB / 0.7127 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.7911, allocations: 8 kB / 0.7127 GB, free: 1.414 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.latch1.y,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.latch1.u,latch1.u,$PRE.latch1.u0,latch1.u0,latch1.y,$PRE.latch1.scenario,latch1.scenario) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001442/0.7913, allocations: 130.5 kB / 0.7128 GB, free: 1.277 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.7913, allocations: 27.77 kB / 0.7129 GB, free: 1.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.7914, allocations: 16.5 kB / 0.7129 GB, free: 1.238 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-06/0.7914, allocations: 0 / 0.7129 GB, free: 1.238 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.435e-06/0.7914, allocations: 0 / 0.7129 GB, free: 1.238 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-06/0.7914, allocations: 0 / 0.7129 GB, free: 1.238 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.7921, allocations: 442.5 kB / 0.7133 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7921, allocations: 0 / 0.7133 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.7922, allocations: 4 kB / 0.7133 GB, free: 0.7461 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.44e-06/0.7922, allocations: 4 kB / 0.7133 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.7922, allocations: 4 kB / 0.7133 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7922, allocations: 0 / 0.7133 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.7922, allocations: 384 / 0.7133 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.7926, allocations: 247.4 kB / 0.7136 GB, free: 492 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.7927, allocations: 81.02 kB / 0.7136 GB, free: 392 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.7927, allocations: 7.984 kB / 0.7136 GB, free: 384 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.7929, allocations: 23.92 kB / 0.7137 GB, free: 360 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7931, allocations: 35.88 kB / 0.7137 GB, free: 324 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.7931, allocations: 4 kB / 0.7137 GB, free: 320 kB / 0.573 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.7932, allocations: 95.27 kB / 0.7138 GB, free: 224 kB / 0.573 GB Notification: Performance of sort global known variables: time 7.16e-07/0.7932, allocations: 4 kB / 0.7138 GB, free: 220 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003465/0.7935, allocations: 24 kB / 0.7138 GB, free: 196 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,latch1.u,latch1.u0,latch1.y,latch1.scenario) * Number of discrete states: 2 (latch1.u,latch1.u0) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001637/0.7937, allocations: 114.3 kB / 0.7139 GB, free: 72 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.7941, allocations: 111.9 kB / 0.714 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.927e-06/0.7941, allocations: 4 kB / 0.714 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7943, allocations: 75.91 kB / 0.7141 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7946, allocations: 19.88 kB / 0.7141 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.7952, allocations: 233.5 kB / 0.7144 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.7956, allocations: 0.7004 MB / 0.715 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.647e-05/0.7957, allocations: 12.88 kB / 0.7151 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.7958, allocations: 11.44 kB / 0.7151 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.51e-06/0.7958, allocations: 4 kB / 0.7151 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of Templates: time 0.004854/0.8007, allocations: 1.313 MB / 0.7163 GB, free: 13.55 MB / 0.5886 GB