Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadModel(Buildings): time 4.451/4.451, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.772e-05, allocations: 8 kB / 0.5731 GB, free: 5.703 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7038/0.8979, allocations: 132 MB / 0.8067 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.8981, allocations: 73.34 kB / 0.8068 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006438/0.9046, allocations: 1.783 MB / 0.8085 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.15e-06/0.9046, allocations: 0 / 0.8085 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.761e-06/0.9047, allocations: 3.812 kB / 0.8085 GB, free: 12.17 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006154/0.9053, allocations: 437.3 kB / 0.809 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9053, allocations: 11.62 kB / 0.809 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.9054, allocations: 15.47 kB / 0.809 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.9055, allocations: 199.3 kB / 0.8092 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.9057, allocations: 99.62 kB / 0.8093 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.9057, allocations: 10.44 kB / 0.8093 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9059, allocations: 87.55 kB / 0.8094 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.9059, allocations: 0 / 0.8094 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.906, allocations: 6.547 kB / 0.8094 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.906, allocations: 3.812 kB / 0.8094 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.9061, allocations: 55.3 kB / 0.8094 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.9067, allocations: 391 kB / 0.8098 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.9069, allocations: 81.94 kB / 0.8099 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.907, allocations: 40.19 kB / 0.8099 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.907, allocations: 0 / 0.8099 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.9072, allocations: 98.42 kB / 0.81 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.9072, allocations: 0 / 0.81 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000266/0.9075, allocations: 105.1 kB / 0.8101 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.9075, allocations: 62.17 kB / 0.8102 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.9077, allocations: 150.4 kB / 0.8103 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.9077, allocations: 29.58 kB / 0.8103 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.9078, allocations: 105 kB / 0.8104 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.9078, allocations: 22.03 kB / 0.8105 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.9078, allocations: 3.469 kB / 0.8105 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.9079, allocations: 320.8 kB / 0.8108 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.908, allocations: 36.22 kB / 0.8108 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.9081, allocations: 66.16 kB / 0.8109 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.896e-05/0.9082, allocations: 28.28 kB / 0.8109 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-06/0.9082, allocations: 0 / 0.8109 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002792/0.9085, allocations: 130.3 kB / 0.811 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.9086, allocations: 10.16 kB / 0.811 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.599e-06/0.9086, allocations: 0 / 0.811 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9086, allocations: 3.953 kB / 0.811 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.9088, allocations: 36.98 kB / 0.8111 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.68e-06/0.9088, allocations: 3.906 kB / 0.8111 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.909, allocations: 35.42 kB / 0.8111 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.9091, allocations: 3.906 kB / 0.8111 GB, free: 10.31 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: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.684e-05/0.9091, allocations: 119.7 kB / 0.8112 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.9092, allocations: 15.53 kB / 0.8112 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.9092, allocations: 14.66 kB / 0.8112 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-06/0.9092, allocations: 7.859 kB / 0.8113 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.606e-06/0.9093, allocations: 3.938 kB / 0.8113 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.9093, allocations: 0 / 0.8113 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.9095, allocations: 220.6 kB / 0.8115 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-06/0.9095, allocations: 0 / 0.8115 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.9095, allocations: 10.25 kB / 0.8115 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.9096, allocations: 4 kB / 0.8115 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9096, allocations: 3.938 kB / 0.8115 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.658e-06/0.9096, allocations: 0 / 0.8115 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.37e-06/0.9096, allocations: 7.828 kB / 0.8115 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.9098, allocations: 150.6 kB / 0.8116 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.9099, allocations: 88.77 kB / 0.8117 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.9099, allocations: 3.812 kB / 0.8117 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.9101, allocations: 27.06 kB / 0.8117 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.9101, allocations: 17.36 kB / 0.8118 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.9102, allocations: 7.828 kB / 0.8118 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.9103, allocations: 112.6 kB / 0.8119 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.66e-07/0.9103, allocations: 0 / 0.8119 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002959/0.9106, allocations: 26.22 kB / 0.8119 GB, free: 9.715 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * 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.0001298/0.9107, allocations: 114.7 kB / 0.812 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.911, allocations: 86.3 kB / 0.8121 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-06/0.911, allocations: 0 / 0.8121 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.9111, allocations: 41.41 kB / 0.8121 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9114, allocations: 30.39 kB / 0.8122 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.9118, allocations: 164.6 kB / 0.8123 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.9122, allocations: 0.7077 MB / 0.813 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.06e-05/0.9123, allocations: 13.12 kB / 0.813 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.9124, allocations: 18.75 kB / 0.813 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.642e-06/0.9124, allocations: 0 / 0.813 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.00471/0.9171, allocations: 1.321 MB / 0.8143 GB, free: 24.7 MB / 0.6511 GB