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: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.848e-05/6.861e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5241, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.7524, allocations: 120.7 MB / 0.7075 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.7528, allocations: 87.94 kB / 0.7076 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004281/0.7571, allocations: 1.175 MB / 0.7087 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.947e-06/0.7571, allocations: 0 / 0.7087 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.275e-06/0.7571, allocations: 8 kB / 0.7087 GB, free: 4.324 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.0005498/0.7577, allocations: 378.3 kB / 0.7091 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7577, allocations: 8.031 kB / 0.7091 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.7578, allocations: 15.86 kB / 0.7091 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.758, allocations: 175 kB / 0.7093 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.758, allocations: 3.938 kB / 0.7093 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.758, allocations: 11.98 kB / 0.7093 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.7582, allocations: 61.56 kB / 0.7094 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-06/0.7582, allocations: 0 / 0.7094 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7582, allocations: 4 kB / 0.7094 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-06/0.7583, allocations: 0 / 0.7094 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.7584, allocations: 31.94 kB / 0.7094 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.7589, allocations: 312.8 kB / 0.7097 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.759, allocations: 46.58 kB / 0.7097 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.7591, allocations: 16.86 kB / 0.7097 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7591, allocations: 4 kB / 0.7098 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.7593, allocations: 95.27 kB / 0.7098 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.664e-06/0.7593, allocations: 0 / 0.7098 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002515/0.7596, allocations: 85.59 kB / 0.7099 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.7597, allocations: 55.41 kB / 0.71 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7598, allocations: 120.9 kB / 0.7101 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.7598, allocations: 25.7 kB / 0.7101 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.7599, allocations: 96.12 kB / 0.7102 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.76, allocations: 27.8 kB / 0.7102 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-06/0.76, allocations: 4 kB / 0.7102 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7602, allocations: 322.8 kB / 0.7105 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.7602, allocations: 20 kB / 0.7106 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.7603, allocations: 43.44 kB / 0.7106 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.7604, allocations: 16.08 kB / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.036e-06/0.7604, allocations: 11.94 kB / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002158/0.7606, allocations: 97.47 kB / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7607, allocations: 4 kB / 0.7107 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.534e-06/0.7607, allocations: 4 kB / 0.7107 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7607, allocations: 3.953 kB / 0.7107 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.7608, allocations: 11.98 kB / 0.7107 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.352e-06/0.7608, allocations: 0 / 0.7107 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.761, allocations: 24.08 kB / 0.7108 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.761, allocations: 8 kB / 0.7108 GB, free: 1.996 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.0001002/0.7611, allocations: 128.3 kB / 0.7109 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.7611, allocations: 11.89 kB / 0.7109 GB, free: 1.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.7612, allocations: 8.625 kB / 0.7109 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-06/0.7612, allocations: 3.953 kB / 0.7109 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-06/0.7612, allocations: 4 kB / 0.7109 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.377e-06/0.7612, allocations: 0 / 0.7109 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.7615, allocations: 185.6 kB / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-06/0.7615, allocations: 4 kB / 0.7111 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.7615, allocations: 7.984 kB / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-06/0.7615, allocations: 0 / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.7615, allocations: 4 kB / 0.7111 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-06/0.7615, allocations: 4 kB / 0.7111 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.783e-06/0.7616, allocations: 3.953 kB / 0.7111 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.7618, allocations: 117 kB / 0.7112 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.7619, allocations: 93 kB / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.7619, allocations: 0 / 0.7113 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.762, allocations: 19.98 kB / 0.7113 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.7621, allocations: 15.97 kB / 0.7114 GB, free: 1.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.7621, allocations: 7.953 kB / 0.7114 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.417e-05/0.7622, allocations: 95.47 kB / 0.7115 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.06e-07/0.7622, allocations: 0 / 0.7115 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003137/0.7626, allocations: 23.94 kB / 0.7115 GB, free: 1.184 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.000149/0.7627, allocations: 115 kB / 0.7116 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.7629, allocations: 55.94 kB / 0.7116 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7629, allocations: 0 / 0.7116 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.7631, allocations: 32 kB / 0.7117 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7633, allocations: 30.33 kB / 0.7117 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.7637, allocations: 121.1 kB / 0.7118 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.764, allocations: 0.6926 MB / 0.7125 GB, free: 92 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.7641, allocations: 12.55 kB / 0.7125 GB, free: 80 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.7641, allocations: 11.44 kB / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of SimCode: time 1.312e-06/0.7642, allocations: 0 / 0.7125 GB, free: 68 kB / 0.5886 GB Notification: Performance of Templates: time 0.004163/0.7683, allocations: 1.045 MB / 0.7135 GB, free: 15.04 MB / 0.6042 GB