Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.876/3.876, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.835e-05/4.843e-05, allocations: 4 kB / 0.4991 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6231, allocations: 92.69 MB / 0.5897 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.8485, allocations: 121.3 MB / 0.7081 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.8489, allocations: 91.94 kB / 0.7082 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004986/0.8539, allocations: 1.125 MB / 0.7093 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8539, allocations: 0 / 0.7093 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.8539, allocations: 0 / 0.7093 GB, free: 3.762 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007891/0.8547, allocations: 390.3 kB / 0.7097 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8548, allocations: 12.03 kB / 0.7097 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.8549, allocations: 34.56 kB / 0.7097 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.8549, allocations: 11.95 kB / 0.7097 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.8551, allocations: 174.9 kB / 0.7099 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.8551, allocations: 0 / 0.7099 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.8552, allocations: 11.94 kB / 0.7099 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.8553, allocations: 65.64 kB / 0.71 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8554, allocations: 0 / 0.71 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.8554, allocations: 0 / 0.71 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8554, allocations: 0 / 0.71 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.8555, allocations: 31.95 kB / 0.71 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.8561, allocations: 292.8 kB / 0.7103 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.8562, allocations: 34.58 kB / 0.7103 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.8563, allocations: 16.98 kB / 0.7103 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8563, allocations: 3.938 kB / 0.7103 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.8565, allocations: 79.34 kB / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.8565, allocations: 0 / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002472/0.8568, allocations: 73.53 kB / 0.7105 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.8568, allocations: 59.41 kB / 0.7106 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.8569, allocations: 101 kB / 0.7106 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.857, allocations: 29.7 kB / 0.7107 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.8571, allocations: 100.1 kB / 0.7108 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.8571, allocations: 11.81 kB / 0.7108 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.8571, allocations: 4 kB / 0.7108 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8573, allocations: 318.8 kB / 0.7111 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.8573, allocations: 16 kB / 0.7111 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.8574, allocations: 25.72 kB / 0.7111 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.8575, allocations: 16 kB / 0.7111 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8575, allocations: 0 / 0.7111 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001925/0.8577, allocations: 73.62 kB / 0.7112 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8577, allocations: 4 kB / 0.7112 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8578, allocations: 4.031 kB / 0.7112 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.8578, allocations: 7.953 kB / 0.7112 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.858, allocations: 23.97 kB / 0.7113 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8581, allocations: 0 / 0.7113 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.8583, allocations: 31.83 kB / 0.7113 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.8583, allocations: 7.984 kB / 0.7113 GB, free: 1.508 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.959e-05/0.8584, allocations: 108.5 kB / 0.7114 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.8585, allocations: 7.938 kB / 0.7114 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.8585, allocations: 8.625 kB / 0.7114 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8585, allocations: 7.953 kB / 0.7114 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8585, allocations: 0 / 0.7114 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8586, allocations: 0 / 0.7114 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.8588, allocations: 189.5 kB / 0.7116 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8588, allocations: 4 kB / 0.7116 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.859, allocations: 19.98 kB / 0.7116 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.859, allocations: 0 / 0.7116 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.859, allocations: 0 / 0.7116 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.8591, allocations: 4 kB / 0.7116 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8591, allocations: 3.953 kB / 0.7116 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.8593, allocations: 101.2 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.8594, allocations: 85 kB / 0.7118 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.8594, allocations: 3.938 kB / 0.7118 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.8596, allocations: 19.98 kB / 0.7118 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.8597, allocations: 7.984 kB / 0.7118 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.8597, allocations: 15.94 kB / 0.7119 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.075e-05/0.8598, allocations: 95.66 kB / 0.7119 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8598, allocations: 0 / 0.7119 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002693/0.8601, allocations: 12 kB / 0.712 GB, free: 0.7383 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005604/0.8607, allocations: 0.6405 MB / 0.7126 GB, free: 72 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.8609, allocations: 40 kB / 0.7126 GB, free: 32 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8609, allocations: 8 kB / 0.7126 GB, free: 24 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.861, allocations: 24 kB / 0.7126 GB, free: 0 / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.8613, allocations: 8.047 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.8618, allocations: 136.1 kB / 0.7128 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.8621, allocations: 0.6887 MB / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.8622, allocations: 8.188 kB / 0.7135 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.8623, allocations: 19.42 kB / 0.7135 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.8623, allocations: 0 / 0.7135 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/0.9181, allocations: 1.716 MB / 0.7152 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.9184, allocations: 158.2 kB / 0.7153 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.2, allocations: 3.938 kB / 0.7153 GB, free: 13.21 MB / 0.6042 GB