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.709/3.709, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.5e-05/5.516e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.4994, allocations: 92.68 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.6819, allocations: 121.1 MB / 0.7078 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6823, allocations: 91.88 kB / 0.7079 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003798/0.6861, allocations: 1.05 MB / 0.709 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.845e-06/0.6861, allocations: 0 / 0.709 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6861, allocations: 4 kB / 0.709 GB, free: 4.105 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.0005477/0.6867, allocations: 374.4 kB / 0.7093 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6868, allocations: 12.03 kB / 0.7093 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.6868, allocations: 7.953 kB / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.687, allocations: 182.8 kB / 0.7095 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.6871, allocations: 37.7 kB / 0.7095 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.6871, allocations: 15.94 kB / 0.7096 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.6873, allocations: 73.64 kB / 0.7096 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-06/0.6874, allocations: 0 / 0.7096 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6874, allocations: 8 kB / 0.7096 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-06/0.6874, allocations: 0 / 0.7096 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.6876, allocations: 43.94 kB / 0.7097 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.6883, allocations: 348.7 kB / 0.71 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.6885, allocations: 90.58 kB / 0.7101 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.6886, allocations: 32.98 kB / 0.7101 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6887, allocations: 4 kB / 0.7101 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.689, allocations: 175 kB / 0.7103 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/0.689, allocations: 0 / 0.7103 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003769/0.6894, allocations: 145.6 kB / 0.7104 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.6895, allocations: 51.41 kB / 0.7105 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.6896, allocations: 113.2 kB / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.6897, allocations: 29.7 kB / 0.7106 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.6898, allocations: 100.5 kB / 0.7107 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.6898, allocations: 27.69 kB / 0.7107 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.6899, allocations: 4 kB / 0.7108 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.69, allocations: 322.8 kB / 0.7111 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6901, allocations: 43.94 kB / 0.7111 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.6903, allocations: 71.42 kB / 0.7112 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.6904, allocations: 30.12 kB / 0.7112 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.719e-06/0.6904, allocations: 0 / 0.7112 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/0.6907, allocations: 145.4 kB / 0.7113 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6908, allocations: 4 kB / 0.7113 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.516e-06/0.6908, allocations: 4 kB / 0.7113 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6908, allocations: 0 / 0.7113 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.6909, allocations: 11.98 kB / 0.7114 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.6909, allocations: 3.938 kB / 0.7114 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.6911, allocations: 28.02 kB / 0.7114 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.6911, allocations: 4 kB / 0.7114 GB, free: 1.379 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.0001157/0.6912, allocations: 120.8 kB / 0.7115 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.6913, allocations: 11.86 kB / 0.7115 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.6913, allocations: 16.73 kB / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-06/0.6914, allocations: 4 kB / 0.7115 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-06/0.6914, allocations: 4 kB / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.411e-06/0.6914, allocations: 0 / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.692, allocations: 426.4 kB / 0.7119 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.692, allocations: 4 kB / 0.712 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.6921, allocations: 4 kB / 0.712 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.699e-06/0.6921, allocations: 0 / 0.712 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6921, allocations: 7.984 kB / 0.712 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-06/0.6921, allocations: 0 / 0.712 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.589e-06/0.6921, allocations: 0 / 0.712 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.6925, allocations: 255.6 kB / 0.7122 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.6926, allocations: 85 kB / 0.7123 GB, free: 372 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.6926, allocations: 8 kB / 0.7123 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.6928, allocations: 15.98 kB / 0.7123 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6929, allocations: 31.94 kB / 0.7123 GB, free: 316 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.693, allocations: 4 kB / 0.7123 GB, free: 312 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.964e-05/0.6931, allocations: 103.2 kB / 0.7124 GB, free: 208 kB / 0.5886 GB Notification: Performance of sort global known variables: time 7.58e-07/0.6931, allocations: 0 / 0.7124 GB, free: 208 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003364/0.6934, allocations: 24 kB / 0.7125 GB, free: 184 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.0001552/0.6936, allocations: 107.2 kB / 0.7126 GB, free: 68 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.6939, allocations: 108 kB / 0.7127 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.6939, allocations: 0 / 0.7127 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.6941, allocations: 75.94 kB / 0.7127 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6944, allocations: 32.81 kB / 0.7128 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.6949, allocations: 149.6 kB / 0.7129 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.6953, allocations: 0.7004 MB / 0.7136 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.685e-05/0.6954, allocations: 4.891 kB / 0.7136 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.6955, allocations: 27.42 kB / 0.7136 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.419e-06/0.6955, allocations: 0 / 0.7136 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.004809/0.7003, allocations: 1.311 MB / 0.7149 GB, free: 13.62 MB / 0.6042 GB