Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 4.21/4.21, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.326e-05/4.336e-05, allocations: 9.406 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2249, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7427/0.9677, allocations: 131.6 MB / 0.8063 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.968, allocations: 72.64 kB / 0.8064 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004778/0.9728, allocations: 1.337 MB / 0.8077 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.316e-06/0.9728, allocations: 0 / 0.8077 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.344e-06/0.9728, allocations: 3.844 kB / 0.8077 GB, free: 11.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005741/0.9734, allocations: 410.7 kB / 0.8081 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.9735, allocations: 11.56 kB / 0.8081 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.9735, allocations: 6.625 kB / 0.8081 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.9736, allocations: 186.1 kB / 0.8083 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.9738, allocations: 102.3 kB / 0.8084 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.9738, allocations: 3.844 kB / 0.8084 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.974, allocations: 56.34 kB / 0.8084 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.974, allocations: 0 / 0.8084 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.974, allocations: 2.406 kB / 0.8084 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-06/0.974, allocations: 0 / 0.8084 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.9741, allocations: 35.61 kB / 0.8085 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.9745, allocations: 314.3 kB / 0.8088 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.9746, allocations: 43.11 kB / 0.8088 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.9747, allocations: 23.64 kB / 0.8088 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.9747, allocations: 0 / 0.8088 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.9749, allocations: 88.67 kB / 0.8089 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/0.9749, allocations: 0 / 0.8089 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002298/0.9751, allocations: 88.88 kB / 0.809 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.9752, allocations: 59.09 kB / 0.8091 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.9753, allocations: 128.4 kB / 0.8092 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.9753, allocations: 29.33 kB / 0.8092 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.9754, allocations: 87.64 kB / 0.8093 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.9754, allocations: 24.78 kB / 0.8093 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-06/0.9754, allocations: 3.781 kB / 0.8093 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.9755, allocations: 325.2 kB / 0.8096 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.9756, allocations: 23.06 kB / 0.8096 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.9757, allocations: 66.25 kB / 0.8097 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.9758, allocations: 22.64 kB / 0.8097 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9758, allocations: 3.938 kB / 0.8097 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002279/0.976, allocations: 106.6 kB / 0.8098 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.976, allocations: 10.44 kB / 0.8098 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9761, allocations: 0 / 0.8098 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9761, allocations: 7.781 kB / 0.8099 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.9763, allocations: 21.05 kB / 0.8099 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.92e-06/0.9763, allocations: 3.844 kB / 0.8099 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.9765, allocations: 33.59 kB / 0.8099 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.9765, allocations: 11.02 kB / 0.8099 GB, free: 10.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.648e-05/0.9766, allocations: 112 kB / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.9766, allocations: 7.688 kB / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.9767, allocations: 17.83 kB / 0.81 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-06/0.9767, allocations: 0 / 0.81 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.053e-06/0.9767, allocations: 0 / 0.81 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.233e-06/0.9767, allocations: 0 / 0.81 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.9769, allocations: 194.9 kB / 0.8102 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-06/0.9769, allocations: 4 kB / 0.8102 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.9769, allocations: 7.844 kB / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.574e-06/0.9769, allocations: 0 / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.977, allocations: 0 / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.598e-06/0.977, allocations: 0 / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-06/0.977, allocations: 3.844 kB / 0.8102 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.9772, allocations: 128.6 kB / 0.8104 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.9772, allocations: 81.02 kB / 0.8104 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.9773, allocations: 6.812 kB / 0.8105 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.9774, allocations: 24.27 kB / 0.8105 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.9775, allocations: 13.17 kB / 0.8105 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.9775, allocations: 0 / 0.8105 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.9776, allocations: 100 kB / 0.8106 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.9e-07/0.9776, allocations: 0 / 0.8106 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002904/0.9779, allocations: 22.06 kB / 0.8106 GB, free: 9.539 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001278/0.978, allocations: 113 kB / 0.8107 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.9782, allocations: 62.06 kB / 0.8108 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-06/0.9783, allocations: 0 / 0.8108 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.9784, allocations: 32.64 kB / 0.8108 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.9786, allocations: 26.38 kB / 0.8108 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.979, allocations: 124.9 kB / 0.811 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.9795, allocations: 0.6922 MB / 0.8116 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.243e-05/0.9796, allocations: 7.312 kB / 0.8116 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.9796, allocations: 18.91 kB / 0.8117 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.627e-06/0.9797, allocations: 0 / 0.8117 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.004148/0.9838, allocations: 1.162 MB / 0.8128 GB, free: 24.55 MB / 0.6511 GB