Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.372/4.372, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.978e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.069, allocations: 131.9 MB / 0.8067 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.069, allocations: 72.42 kB / 0.8067 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005092/1.074, allocations: 1.17 MB / 0.8079 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/1.074, allocations: 0 / 0.8079 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.074, allocations: 3.938 kB / 0.8079 GB, free: 11.64 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.0007216/1.075, allocations: 398 kB / 0.8083 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.075, allocations: 11.69 kB / 0.8083 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/1.075, allocations: 34.5 kB / 0.8083 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/1.075, allocations: 15.31 kB / 0.8083 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/1.075, allocations: 177.3 kB / 0.8085 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/1.075, allocations: 29.55 kB / 0.8085 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/1.075, allocations: 10.73 kB / 0.8085 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/1.075, allocations: 50.22 kB / 0.8086 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.075, allocations: 2.406 kB / 0.8086 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.076, allocations: 0 / 0.8086 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.076, allocations: 0 / 0.8086 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/1.076, allocations: 28.38 kB / 0.8086 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/1.076, allocations: 303.9 kB / 0.8089 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/1.076, allocations: 31.73 kB / 0.8089 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/1.076, allocations: 22.92 kB / 0.8089 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/1.076, allocations: 3.5 kB / 0.8089 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/1.076, allocations: 71.77 kB / 0.809 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/1.076, allocations: 0 / 0.809 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002277/1.077, allocations: 69.17 kB / 0.8091 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/1.077, allocations: 51.41 kB / 0.8091 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/1.077, allocations: 114.4 kB / 0.8092 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.077, allocations: 29.27 kB / 0.8093 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/1.077, allocations: 90.59 kB / 0.8093 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/1.077, allocations: 22.22 kB / 0.8094 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-06/1.077, allocations: 4 kB / 0.8094 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.077, allocations: 317.2 kB / 0.8097 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/1.077, allocations: 18.09 kB / 0.8097 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/1.077, allocations: 28.89 kB / 0.8097 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/1.077, allocations: 17.72 kB / 0.8097 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.077, allocations: 0 / 0.8097 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001825/1.077, allocations: 73.34 kB / 0.8098 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.078, allocations: 11.91 kB / 0.8098 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.078, allocations: 3.938 kB / 0.8098 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.078, allocations: 2.812 kB / 0.8098 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.078, allocations: 24.98 kB / 0.8098 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.078, allocations: 0 / 0.8098 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/1.078, allocations: 34.66 kB / 0.8099 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.078, allocations: 7.797 kB / 0.8099 GB, free: 9.895 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 6.94e-05/1.078, allocations: 112.1 kB / 0.81 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/1.078, allocations: 7.719 kB / 0.81 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/1.078, allocations: 15.36 kB / 0.81 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.078, allocations: 0 / 0.81 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.078, allocations: 0 / 0.81 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.078, allocations: 0 / 0.81 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/1.079, allocations: 189.2 kB / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.079, allocations: 0 / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.079, allocations: 21 kB / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.079, allocations: 3.812 kB / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.079, allocations: 0 / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.079, allocations: 0 / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.079, allocations: 0 / 0.8102 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/1.079, allocations: 108.9 kB / 0.8103 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/1.079, allocations: 88.8 kB / 0.8104 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/1.079, allocations: 0 / 0.8104 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/1.079, allocations: 27.02 kB / 0.8104 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/1.079, allocations: 6.609 kB / 0.8104 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.079, allocations: 4.094 kB / 0.8104 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.658e-05/1.079, allocations: 97.28 kB / 0.8105 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/1.079, allocations: 0 / 0.8105 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002695/1.08, allocations: 15.38 kB / 0.8106 GB, free: 9.312 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.0008095/1.081, allocations: 0.6462 MB / 0.8112 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002026/1.081, allocations: 47.89 kB / 0.8112 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.081, allocations: 3.906 kB / 0.8112 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/1.081, allocations: 18.22 kB / 0.8113 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/1.081, allocations: 16.14 kB / 0.8113 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/1.082, allocations: 131 kB / 0.8114 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/1.082, allocations: 0.6925 MB / 0.8121 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.946e-05/1.082, allocations: 6.906 kB / 0.8121 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/1.082, allocations: 17.83 kB / 0.8121 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.082, allocations: 0 / 0.8121 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/1.108, allocations: 1.766 MB / 0.8138 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/1.108, allocations: 156 kB / 0.814 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.299, allocations: 0 / 0.814 GB, free: 23.41 MB / 0.6511 GB