Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.019/4.019, allocations: 432.7 MB / 444.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.194e-05, allocations: 8.641 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 98.73 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.4319, allocations: 124.3 MB / 0.7516 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4322, allocations: 75.94 kB / 0.7516 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004744/0.437, allocations: 1.153 MB / 0.7528 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.437, allocations: 0 / 0.7528 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.437, allocations: 0 / 0.7528 GB, free: 8.477 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006709/0.4377, allocations: 402.2 kB / 0.7532 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4378, allocations: 8.031 kB / 0.7532 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.4378, allocations: 38.56 kB / 0.7532 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.4379, allocations: 7.953 kB / 0.7532 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.438, allocations: 178.9 kB / 0.7534 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4381, allocations: 8 kB / 0.7534 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4381, allocations: 4 kB / 0.7534 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.4383, allocations: 61.62 kB / 0.7534 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4383, allocations: 0 / 0.7534 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4383, allocations: 0 / 0.7534 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4383, allocations: 0 / 0.7534 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.4385, allocations: 31.98 kB / 0.7535 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.439, allocations: 304.8 kB / 0.7538 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.4392, allocations: 50.59 kB / 0.7538 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.4392, allocations: 24.86 kB / 0.7538 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4393, allocations: 0 / 0.7538 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.4395, allocations: 87.28 kB / 0.7539 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 6.082e-06/0.4395, allocations: 4 kB / 0.7539 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000273/0.4398, allocations: 97.5 kB / 0.754 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.4398, allocations: 51.41 kB / 0.7541 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.44, allocations: 124.8 kB / 0.7542 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.44, allocations: 29.7 kB / 0.7542 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.4401, allocations: 84.14 kB / 0.7543 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.4401, allocations: 19.72 kB / 0.7543 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.4401, allocations: 4 kB / 0.7543 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4403, allocations: 322.8 kB / 0.7546 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.4403, allocations: 20 kB / 0.7546 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.4404, allocations: 47.42 kB / 0.7547 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.4405, allocations: 27.97 kB / 0.7547 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4405, allocations: 0 / 0.7547 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002191/0.4408, allocations: 101.5 kB / 0.7548 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4408, allocations: 8 kB / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4408, allocations: 0 / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4408, allocations: 4 kB / 0.7548 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.4409, allocations: 15.89 kB / 0.7548 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4409, allocations: 0 / 0.7548 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.4412, allocations: 23.97 kB / 0.7549 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.4412, allocations: 8.094 kB / 0.7549 GB, free: 6.086 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: 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 8.902e-05/0.4413, allocations: 113 kB / 0.755 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.4413, allocations: 7.906 kB / 0.755 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.4414, allocations: 16.62 kB / 0.755 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4414, allocations: 3.938 kB / 0.755 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4414, allocations: 3.953 kB / 0.755 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4414, allocations: 0 / 0.755 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.4416, allocations: 189.8 kB / 0.7552 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4416, allocations: 0 / 0.7552 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.4417, allocations: 4 kB / 0.7552 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4417, allocations: 7.984 kB / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4417, allocations: 0 / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4417, allocations: 0 / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4417, allocations: 0 / 0.7552 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.442, allocations: 132.9 kB / 0.7553 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.442, allocations: 81.02 kB / 0.7554 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.4421, allocations: 8 kB / 0.7554 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4423, allocations: 23.97 kB / 0.7554 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.4424, allocations: 11.98 kB / 0.7555 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4424, allocations: 4 kB / 0.7555 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.4425, allocations: 95.27 kB / 0.7555 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4425, allocations: 0 / 0.7555 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002848/0.4428, allocations: 23.95 kB / 0.7556 GB, free: 5.273 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: 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.0005368/0.4433, allocations: 0.6579 MB / 0.7562 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4435, allocations: 55.94 kB / 0.7563 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4435, allocations: 0 / 0.7563 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4437, allocations: 39.92 kB / 0.7563 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.444, allocations: 29.83 kB / 0.7563 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4445, allocations: 150.8 kB / 0.7565 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.4448, allocations: 0.6926 MB / 0.7572 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.84e-05/0.4449, allocations: 8.547 kB / 0.7572 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.4449, allocations: 23.44 kB / 0.7572 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4449, allocations: 4 kB / 0.7572 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4658, allocations: 2.045 MB / 0.7592 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003231/0.4662, allocations: 170.1 kB / 0.7593 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.619, allocations: 3.938 kB / 0.7593 GB, free: 1.332 MB / 0.6355 GB