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.553/3.553, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.252e-05, allocations: 8 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5466, allocations: 92.69 MB / 0.5896 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.7383, allocations: 121.1 MB / 0.7078 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.7386, allocations: 83.94 kB / 0.7079 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003742/0.7424, allocations: 1.054 MB / 0.7089 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.667e-06/0.7424, allocations: 0 / 0.7089 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.952e-06/0.7424, allocations: 4 kB / 0.7089 GB, free: 4.152 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005446/0.743, allocations: 374.4 kB / 0.7093 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.743, allocations: 8.031 kB / 0.7093 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.7431, allocations: 11.95 kB / 0.7093 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.7433, allocations: 178.8 kB / 0.7095 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.7434, allocations: 37.7 kB / 0.7095 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.7434, allocations: 15.94 kB / 0.7095 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.7436, allocations: 89.61 kB / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.02e-06/0.7436, allocations: 0 / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7437, allocations: 0 / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7437, allocations: 0 / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.7438, allocations: 47.94 kB / 0.7097 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.7445, allocations: 344.7 kB / 0.71 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.7448, allocations: 86.58 kB / 0.7101 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.7449, allocations: 44.97 kB / 0.7101 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.7449, allocations: 0 / 0.7101 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.7453, allocations: 175.1 kB / 0.7103 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 2.648e-06/0.7453, allocations: 0 / 0.7103 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003655/0.7457, allocations: 141.6 kB / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.7457, allocations: 55.41 kB / 0.7105 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.7459, allocations: 113.1 kB / 0.7106 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.7459, allocations: 33.7 kB / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.746, allocations: 100.2 kB / 0.7107 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.746, allocations: 27.62 kB / 0.7107 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.7461, allocations: 4 kB / 0.7107 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7462, allocations: 322.8 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.7463, allocations: 43.94 kB / 0.7111 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.7465, allocations: 68.11 kB / 0.7111 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.274e-05/0.7466, allocations: 34.17 kB / 0.7112 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.216e-06/0.7466, allocations: 3.953 kB / 0.7112 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003099/0.7469, allocations: 133.4 kB / 0.7113 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.747, allocations: 7.984 kB / 0.7113 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.747, allocations: 4 kB / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.747, allocations: 0 / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.7471, allocations: 11.94 kB / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.907e-06/0.7471, allocations: 0 / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.7473, allocations: 28.02 kB / 0.7114 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.7473, allocations: 4 kB / 0.7114 GB, free: 1.422 MB / 0.5886 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.0001135/0.7474, allocations: 120.7 kB / 0.7115 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.7475, allocations: 19.84 kB / 0.7115 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.7475, allocations: 12.75 kB / 0.7115 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.117e-06/0.7475, allocations: 4 kB / 0.7115 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.953e-06/0.7475, allocations: 0 / 0.7115 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.272e-06/0.7476, allocations: 4 kB / 0.7115 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.7482, allocations: 422.5 kB / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-06/0.7482, allocations: 0 / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.7482, allocations: 11.92 kB / 0.7119 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.829e-06/0.7482, allocations: 0 / 0.7119 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.7483, allocations: 4 kB / 0.7119 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-06/0.7483, allocations: 0 / 0.7119 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.65e-06/0.7483, allocations: 384 / 0.7119 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.7486, allocations: 255.6 kB / 0.7122 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.7487, allocations: 81.02 kB / 0.7123 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.7488, allocations: 8 kB / 0.7123 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.749, allocations: 23.92 kB / 0.7123 GB, free: 388 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.7491, allocations: 31.94 kB / 0.7123 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.7491, allocations: 4 kB / 0.7123 GB, free: 352 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.704e-05/0.7492, allocations: 99.2 kB / 0.7124 GB, free: 252 kB / 0.5886 GB Notification: Performance of sort global known variables: time 8.4e-07/0.7492, allocations: 4 kB / 0.7124 GB, free: 248 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003409/0.7496, allocations: 24 kB / 0.7124 GB, free: 224 kB / 0.5886 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.000156/0.7497, allocations: 115.2 kB / 0.7125 GB, free: 100 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.7501, allocations: 108 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7501, allocations: 0 / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.7502, allocations: 75.94 kB / 0.7127 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.7506, allocations: 28.7 kB / 0.7128 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.751, allocations: 151.8 kB / 0.7129 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.7514, allocations: 0.6965 MB / 0.7136 GB, free: 15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.015e-05/0.7515, allocations: 12.88 kB / 0.7136 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.7516, allocations: 19.44 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.441e-06/0.7516, allocations: 4 kB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.004644/0.7562, allocations: 1.304 MB / 0.7149 GB, free: 13.66 MB / 0.6042 GB