Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.983/3.983, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.468e-05, allocations: 8.281 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.4339, allocations: 124.5 MB / 0.7518 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4342, allocations: 71.94 kB / 0.7519 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004771/0.439, allocations: 1.114 MB / 0.753 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.439, allocations: 0 / 0.753 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4391, allocations: 0 / 0.753 GB, free: 8.227 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007143/0.4398, allocations: 386.4 kB / 0.7534 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4398, allocations: 8.031 kB / 0.7534 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.4399, allocations: 34.56 kB / 0.7534 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.4399, allocations: 7.906 kB / 0.7534 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4401, allocations: 174.9 kB / 0.7536 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4401, allocations: 0 / 0.7536 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4402, allocations: 4 kB / 0.7536 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4403, allocations: 53.67 kB / 0.7536 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4404, allocations: 3.938 kB / 0.7536 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4404, allocations: 15.94 kB / 0.7536 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4404, allocations: 0 / 0.7536 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4405, allocations: 24 kB / 0.7537 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.4411, allocations: 292.8 kB / 0.754 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4412, allocations: 34.58 kB / 0.754 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.4413, allocations: 24.98 kB / 0.754 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.4413, allocations: 0 / 0.754 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4415, allocations: 71.33 kB / 0.7541 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.4415, allocations: 3.938 kB / 0.7541 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002716/0.4418, allocations: 73.55 kB / 0.7542 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4419, allocations: 51.41 kB / 0.7542 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.442, allocations: 109 kB / 0.7543 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.442, allocations: 29.7 kB / 0.7543 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.4421, allocations: 96.06 kB / 0.7544 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.4421, allocations: 11.81 kB / 0.7544 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.4422, allocations: 4 kB / 0.7544 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4423, allocations: 318.8 kB / 0.7547 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.4424, allocations: 12 kB / 0.7548 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.4425, allocations: 33.66 kB / 0.7548 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.4425, allocations: 16 kB / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4425, allocations: 0 / 0.7548 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001853/0.4427, allocations: 73.72 kB / 0.7549 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4428, allocations: 4 kB / 0.7549 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4428, allocations: 4 kB / 0.7549 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4428, allocations: 0 / 0.7549 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4431, allocations: 31.91 kB / 0.7549 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4431, allocations: 3.953 kB / 0.7549 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4433, allocations: 28.02 kB / 0.7549 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4433, allocations: 4 kB / 0.7549 GB, free: 5.996 MB / 0.6355 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.446e-05/0.4434, allocations: 105 kB / 0.755 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.4435, allocations: 7.906 kB / 0.7551 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.4435, allocations: 8.625 kB / 0.7551 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4435, allocations: 8 kB / 0.7551 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4436, allocations: 0 / 0.7551 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4436, allocations: 3.953 kB / 0.7551 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4438, allocations: 185.7 kB / 0.7552 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4438, allocations: 0 / 0.7552 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.444, allocations: 23.92 kB / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.444, allocations: 0 / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.444, allocations: 0 / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4441, allocations: 0 / 0.7553 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4441, allocations: 7.938 kB / 0.7553 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.4443, allocations: 104.9 kB / 0.7554 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.4444, allocations: 92.94 kB / 0.7555 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4444, allocations: 0 / 0.7555 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4446, allocations: 23.98 kB / 0.7555 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4447, allocations: 11.98 kB / 0.7555 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4447, allocations: 7.984 kB / 0.7555 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.4448, allocations: 87.28 kB / 0.7556 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4448, allocations: 0 / 0.7556 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002772/0.4451, allocations: 16 kB / 0.7556 GB, free: 5.215 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: 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.0005405/0.4457, allocations: 0.6475 MB / 0.7562 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4459, allocations: 40 kB / 0.7563 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4459, allocations: 0 / 0.7563 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.446, allocations: 24 kB / 0.7563 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4463, allocations: 4.766 kB / 0.7563 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.4468, allocations: 140.7 kB / 0.7564 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.4471, allocations: 0.6965 MB / 0.7571 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.976e-05/0.4472, allocations: 192 / 0.7571 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.4472, allocations: 23.42 kB / 0.7571 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/0.4472, allocations: 0 / 0.7571 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.4719, allocations: 1.722 MB / 0.7588 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/0.4724, allocations: 157.7 kB / 0.759 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.591, allocations: 4 kB / 0.759 GB, free: 1.68 MB / 0.6355 GB