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.551/3.551, allocations: 402 MB / 415.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.888e-05, allocations: 4 kB / 0.5003 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1638, allocations: 92.7 MB / 0.5909 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6402/0.804, allocations: 120.8 MB / 0.7088 GB, free: 5.68 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.8043, allocations: 83.94 kB / 0.7089 GB, free: 5.598 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004409/0.8088, allocations: 1.177 MB / 0.71 GB, free: 4.426 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.079e-06/0.8088, allocations: 0 / 0.71 GB, free: 4.426 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.8088, allocations: 8 kB / 0.7101 GB, free: 4.418 MB / 0.573 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.0005963/0.8094, allocations: 379.2 kB / 0.7104 GB, free: 4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8095, allocations: 12.02 kB / 0.7104 GB, free: 3.988 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.8095, allocations: 15.86 kB / 0.7104 GB, free: 3.973 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.8097, allocations: 175 kB / 0.7106 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.8098, allocations: 0 / 0.7106 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.8098, allocations: 4 kB / 0.7106 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.81, allocations: 65.61 kB / 0.7107 GB, free: 3.688 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.81, allocations: 3.984 kB / 0.7107 GB, free: 3.684 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.81, allocations: 0 / 0.7107 GB, free: 3.684 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.441e-06/0.81, allocations: 4 kB / 0.7107 GB, free: 3.68 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.8101, allocations: 35.92 kB / 0.7107 GB, free: 3.645 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.8107, allocations: 308.8 kB / 0.711 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.8109, allocations: 51.25 kB / 0.7111 GB, free: 3.234 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.8109, allocations: 0 / 0.7111 GB, free: 3.234 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.8111, allocations: 83.36 kB / 0.7111 GB, free: 3.141 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 3.424e-06/0.8111, allocations: 11.88 kB / 0.7111 GB, free: 3.129 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0003337/0.8115, allocations: 118.6 kB / 0.7113 GB, free: 3.008 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8115, allocations: 55.34 kB / 0.7113 GB, free: 2.941 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.8117, allocations: 113 kB / 0.7114 GB, free: 2.824 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.8117, allocations: 33.7 kB / 0.7115 GB, free: 2.785 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.8118, allocations: 88.12 kB / 0.7115 GB, free: 2.695 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.8118, allocations: 23.86 kB / 0.7116 GB, free: 2.672 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-06/0.8118, allocations: 0 / 0.7116 GB, free: 2.672 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.812, allocations: 329 kB / 0.7119 GB, free: 2.344 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.8121, allocations: 23.98 kB / 0.7119 GB, free: 2.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.8122, allocations: 43.42 kB / 0.7119 GB, free: 2.266 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.393e-05/0.8123, allocations: 20 kB / 0.712 GB, free: 2.246 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-06/0.8123, allocations: 0 / 0.712 GB, free: 2.246 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.8125, allocations: 109.5 kB / 0.7121 GB, free: 2.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.8126, allocations: 4 kB / 0.7121 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8126, allocations: 0 / 0.7121 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8126, allocations: 7.953 kB / 0.7121 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.8127, allocations: 12.8 kB / 0.7121 GB, free: 2.109 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.629e-06/0.8127, allocations: 4 kB / 0.7121 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.8128, allocations: 15.98 kB / 0.7121 GB, free: 2.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.8129, allocations: 12.09 kB / 0.7121 GB, free: 2.078 MB / 0.573 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.0001273/0.813, allocations: 123.7 kB / 0.7122 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.8131, allocations: 11.89 kB / 0.7122 GB, free: 1.938 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.8131, allocations: 8.375 kB / 0.7123 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8131, allocations: 0 / 0.7123 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.8132, allocations: 7.953 kB / 0.7123 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.426e-06/0.8132, allocations: 7.938 kB / 0.7123 GB, free: 1.918 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.8134, allocations: 185.6 kB / 0.7124 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.329e-06/0.8134, allocations: 7.938 kB / 0.7125 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.8135, allocations: 7.938 kB / 0.7125 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-06/0.8135, allocations: 0 / 0.7125 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-06/0.8135, allocations: 0 / 0.7125 GB, free: 1.672 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.174e-06/0.8135, allocations: 4 kB / 0.7125 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-06/0.8135, allocations: 0 / 0.7125 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.8137, allocations: 124.9 kB / 0.7126 GB, free: 1.527 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.8138, allocations: 89 kB / 0.7127 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.8139, allocations: 0 / 0.7127 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.814, allocations: 19.98 kB / 0.7127 GB, free: 1.402 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.8141, allocations: 19.97 kB / 0.7127 GB, free: 1.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.8141, allocations: 0 / 0.7127 GB, free: 1.383 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.8142, allocations: 103.8 kB / 0.7128 GB, free: 1.281 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.25e-07/0.8142, allocations: 0 / 0.7128 GB, free: 1.281 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002852/0.8145, allocations: 16 kB / 0.7128 GB, free: 1.266 MB / 0.573 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.0001501/0.8147, allocations: 111 kB / 0.7129 GB, free: 1.145 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.8149, allocations: 71.84 kB / 0.713 GB, free: 1.074 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-06/0.8149, allocations: 0 / 0.713 GB, free: 1.074 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.815, allocations: 28 kB / 0.713 GB, free: 1.047 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.8153, allocations: 23.44 kB / 0.713 GB, free: 1.027 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.8158, allocations: 199.6 kB / 0.7132 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.8162, allocations: 0.6965 MB / 0.7139 GB, free: 84 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.8163, allocations: 16.55 kB / 0.7139 GB, free: 68 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.8163, allocations: 15.38 kB / 0.7139 GB, free: 52 kB / 0.573 GB Notification: Performance of SimCode: time 1.411e-06/0.8163, allocations: 0 / 0.7139 GB, free: 52 kB / 0.573 GB Notification: Performance of Templates: time 0.004437/0.8208, allocations: 1.046 MB / 0.715 GB, free: 15.02 MB / 0.5886 GB