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.737/3.737, allocations: 402 MB / 416.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.208e-05, allocations: 7.938 kB / 0.501 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 92.69 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.00204/0.2126, allocations: 1.092 MB / 0.5925 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006331/0.2132, allocations: 228.3 kB / 0.5928 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.2133, allocations: 0 / 0.5928 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.2133, allocations: 0 / 0.5928 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.2134, allocations: 19.89 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.2136, allocations: 31.91 kB / 0.5928 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2137, allocations: 47.94 kB / 0.5929 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.2138, allocations: 7.938 kB / 0.5929 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.8e-05/0.2139, allocations: 39.89 kB / 0.5929 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.214, allocations: 35.89 kB / 0.5929 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.502e-05/0.2141, allocations: 4 kB / 0.5929 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.2141, allocations: 4 kB / 0.5929 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.505e-05/0.2142, allocations: 15.98 kB / 0.593 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.2142, allocations: 8 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.2144, allocations: 72.05 kB / 0.593 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2144, allocations: 0 / 0.593 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2144, allocations: 0 / 0.593 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2144, allocations: 0 / 0.593 GB, free: 9.746 MB / 0.4948 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.0007796/0.2152, allocations: 381.1 kB / 0.5934 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2153, allocations: 8.031 kB / 0.5934 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/0.2154, allocations: 15.86 kB / 0.5934 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2155, allocations: 174.9 kB / 0.5936 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.871e-05/0.2156, allocations: 37.7 kB / 0.5936 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.2157, allocations: 8 kB / 0.5936 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.2159, allocations: 81.62 kB / 0.5937 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.216, allocations: 0 / 0.5937 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.216, allocations: 0 / 0.5937 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.216, allocations: 4 kB / 0.5937 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.2162, allocations: 51.86 kB / 0.5938 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.217, allocations: 349 kB / 0.5941 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.2173, allocations: 94.55 kB / 0.5942 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2173, allocations: 0 / 0.5942 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.2177, allocations: 179.2 kB / 0.5944 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.2177, allocations: 0 / 0.5944 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0005579/0.2183, allocations: 185.5 kB / 0.5945 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2184, allocations: 55.41 kB / 0.5946 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2185, allocations: 117 kB / 0.5947 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2185, allocations: 37.69 kB / 0.5947 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2186, allocations: 92.14 kB / 0.5948 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.2187, allocations: 31.67 kB / 0.5949 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.2187, allocations: 8 kB / 0.5949 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2188, allocations: 330.8 kB / 0.5952 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.219, allocations: 39.98 kB / 0.5952 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.2192, allocations: 67.42 kB / 0.5953 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.2193, allocations: 24 kB / 0.5953 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2193, allocations: 4 kB / 0.5953 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003619/0.2197, allocations: 149.4 kB / 0.5955 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2197, allocations: 4 kB / 0.5955 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2197, allocations: 0 / 0.5955 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2197, allocations: 4 kB / 0.5955 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.2198, allocations: 11.94 kB / 0.5955 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2198, allocations: 0 / 0.5955 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.22, allocations: 24.08 kB / 0.5955 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2201, allocations: 4 kB / 0.5955 GB, free: 6.992 MB / 0.4948 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.0001302/0.2202, allocations: 138.4 kB / 0.5956 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.2202, allocations: 11.86 kB / 0.5956 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.2203, allocations: 16.5 kB / 0.5957 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2203, allocations: 0 / 0.5957 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2203, allocations: 0 / 0.5957 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.2204, allocations: 88.98 kB / 0.5957 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.2204, allocations: 8 kB / 0.5958 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2206, allocations: 23.98 kB / 0.5958 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2207, allocations: 27.94 kB / 0.5958 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004979/0.2213, allocations: 233.4 kB / 0.596 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004319/0.2217, allocations: 330.7 kB / 0.5963 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001869/0.2219, allocations: 71.97 kB / 0.5964 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.222, allocations: 91.27 kB / 0.5965 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of Backend: time 6.42e-07/0.222, allocations: 0.6562 kB / 0.5965 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.2225, allocations: 154.4 kB / 0.5966 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0007113/0.2232, allocations: 0.6429 MB / 0.5973 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of Templates: time 0.005397/0.2286, allocations: 1.455 MB / 0.5987 GB, free: 3.625 MB / 0.4948 GB