Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 3.638/3.638, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.263e-05/5.284e-05, allocations: 8 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5489, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/0.7928, allocations: 120.7 MB / 0.7075 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.7931, allocations: 79.95 kB / 0.7075 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004332/0.7975, allocations: 1.194 MB / 0.7087 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.932e-06/0.7975, allocations: 0 / 0.7087 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7975, allocations: 0 / 0.7087 GB, free: 4.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005489/0.7981, allocations: 378.4 kB / 0.7091 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7981, allocations: 16.03 kB / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.7982, allocations: 15.84 kB / 0.7091 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.7984, allocations: 167 kB / 0.7093 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.7984, allocations: 8 kB / 0.7093 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.7984, allocations: 4 kB / 0.7093 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.7986, allocations: 65.55 kB / 0.7093 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.7986, allocations: 0 / 0.7093 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7986, allocations: 7.938 kB / 0.7093 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-06/0.7986, allocations: 0 / 0.7093 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.7987, allocations: 31.95 kB / 0.7094 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.7992, allocations: 308.8 kB / 0.7097 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.7994, allocations: 42.58 kB / 0.7097 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.7995, allocations: 28.84 kB / 0.7097 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.7995, allocations: 0 / 0.7097 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.7997, allocations: 95.28 kB / 0.7098 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.462e-06/0.7997, allocations: 0 / 0.7098 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002365/0.8, allocations: 93.52 kB / 0.7099 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8, allocations: 51.41 kB / 0.71 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.8001, allocations: 117 kB / 0.7101 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.8002, allocations: 29.7 kB / 0.7101 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.8002, allocations: 88.14 kB / 0.7102 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.8003, allocations: 31.84 kB / 0.7102 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-06/0.8003, allocations: 4 kB / 0.7102 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8005, allocations: 310.8 kB / 0.7105 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.8005, allocations: 20 kB / 0.7105 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.467e-05/0.8006, allocations: 47.42 kB / 0.7106 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.8007, allocations: 28.03 kB / 0.7106 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8007, allocations: 3.938 kB / 0.7106 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002158/0.8009, allocations: 97.52 kB / 0.7107 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.801, allocations: 4 kB / 0.7107 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.801, allocations: 4 kB / 0.7107 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.801, allocations: 3.953 kB / 0.7107 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.8011, allocations: 15.94 kB / 0.7107 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.874e-06/0.8011, allocations: 0 / 0.7107 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.8013, allocations: 28.06 kB / 0.7108 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.8013, allocations: 4 kB / 0.7108 GB, free: 2.008 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: 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 0.0001045/0.8014, allocations: 116.9 kB / 0.7109 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.8014, allocations: 7.906 kB / 0.7109 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.8015, allocations: 12.62 kB / 0.7109 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.8015, allocations: 3.953 kB / 0.7109 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.846e-06/0.8015, allocations: 7.938 kB / 0.7109 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-06/0.8015, allocations: 11.92 kB / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.8018, allocations: 181.6 kB / 0.7111 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-06/0.8018, allocations: 3.984 kB / 0.7111 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.8018, allocations: 3.984 kB / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.538e-06/0.8018, allocations: 0 / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8018, allocations: 0 / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8019, allocations: 4 kB / 0.7111 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.927e-06/0.8019, allocations: 7.953 kB / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.8021, allocations: 121 kB / 0.7112 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.8022, allocations: 85.02 kB / 0.7113 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.8022, allocations: 4 kB / 0.7113 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.8023, allocations: 23.97 kB / 0.7113 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.8024, allocations: 12.17 kB / 0.7113 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.8024, allocations: 7.953 kB / 0.7113 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.8025, allocations: 99.64 kB / 0.7114 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.4e-07/0.8025, allocations: 4 kB / 0.7114 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002765/0.8028, allocations: 20 kB / 0.7115 GB, free: 1.191 MB / 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: 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.0001339/0.803, allocations: 107.9 kB / 0.7116 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.8032, allocations: 63.86 kB / 0.7116 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8032, allocations: 0 / 0.7116 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.8033, allocations: 32 kB / 0.7117 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.8035, allocations: 26.53 kB / 0.7117 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.8039, allocations: 125.1 kB / 0.7118 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.8043, allocations: 0.6965 MB / 0.7125 GB, free: 96 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.8043, allocations: 4.562 kB / 0.7125 GB, free: 92 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.8044, allocations: 15.44 kB / 0.7125 GB, free: 76 kB / 0.5886 GB Notification: Performance of SimCode: time 1.466e-06/0.8044, allocations: 0 / 0.7125 GB, free: 76 kB / 0.5886 GB Notification: Performance of Templates: time 0.004146/0.8085, allocations: 1.047 MB / 0.7135 GB, free: 15.04 MB / 0.6042 GB