Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.366/4.366, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2374, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.109, allocations: 131.2 MB / 0.8 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.109, allocations: 71.3 kB / 0.8001 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006396/1.116, allocations: 1.164 MB / 0.8012 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.855e-06/1.116, allocations: 0 / 0.8012 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.116, allocations: 0 / 0.8012 GB, free: 12.35 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.0008429/1.117, allocations: 388.1 kB / 0.8016 GB, free: 12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.117, allocations: 9.078 kB / 0.8016 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/1.117, allocations: 37.88 kB / 0.8016 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/1.117, allocations: 15.73 kB / 0.8017 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.117, allocations: 175.9 kB / 0.8018 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.117, allocations: 3.812 kB / 0.8018 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/1.117, allocations: 3.812 kB / 0.8018 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/1.117, allocations: 64.77 kB / 0.8019 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.117, allocations: 0 / 0.8019 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/1.117, allocations: 4.453 kB / 0.8019 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.118, allocations: 3.875 kB / 0.8019 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/1.118, allocations: 22.98 kB / 0.8019 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/1.118, allocations: 312.7 kB / 0.8022 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/1.119, allocations: 53.44 kB / 0.8023 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.317e-05/1.119, allocations: 24.09 kB / 0.8023 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/1.119, allocations: 0 / 0.8023 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.119, allocations: 83.95 kB / 0.8024 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.126e-06/1.119, allocations: 0 / 0.8024 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003724/1.119, allocations: 96.91 kB / 0.8025 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.119, allocations: 55.25 kB / 0.8025 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.12, allocations: 120.2 kB / 0.8026 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.12, allocations: 29.67 kB / 0.8027 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/1.12, allocations: 88.05 kB / 0.8028 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/1.12, allocations: 20.72 kB / 0.8028 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/1.12, allocations: 3.844 kB / 0.8028 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/1.12, allocations: 320.5 kB / 0.8031 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/1.12, allocations: 22.47 kB / 0.8031 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/1.12, allocations: 48.89 kB / 0.8031 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.625e-05/1.12, allocations: 19.94 kB / 0.8032 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.12, allocations: 7.938 kB / 0.8032 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/1.121, allocations: 99.3 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.121, allocations: 3.844 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.121, allocations: 0 / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/1.121, allocations: 11.73 kB / 0.8033 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/1.121, allocations: 9.219 kB / 0.8033 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.121, allocations: 3.812 kB / 0.8033 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/1.121, allocations: 33.55 kB / 0.8033 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.121, allocations: 3.812 kB / 0.8033 GB, free: 10.6 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 9.765e-05/1.121, allocations: 116.1 kB / 0.8034 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/1.121, allocations: 7.75 kB / 0.8035 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/1.122, allocations: 13.16 kB / 0.8035 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/1.122, allocations: 4 kB / 0.8035 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.122, allocations: 8.875 kB / 0.8035 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.122, allocations: 0 / 0.8035 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/1.122, allocations: 190.8 kB / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.122, allocations: 0 / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/1.122, allocations: 0 / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.122, allocations: 0 / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.122, allocations: 5.422 kB / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.122, allocations: 0 / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.122, allocations: 0 / 0.8037 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/1.122, allocations: 123.7 kB / 0.8038 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/1.122, allocations: 82.48 kB / 0.8039 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/1.123, allocations: 4 kB / 0.8039 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.123, allocations: 25.56 kB / 0.8039 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/1.123, allocations: 9.234 kB / 0.8039 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.123, allocations: 3.781 kB / 0.8039 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.897e-05/1.123, allocations: 100.2 kB / 0.804 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.21e-07/1.123, allocations: 0 / 0.804 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004579/1.124, allocations: 23.5 kB / 0.804 GB, free: 10.02 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.001052/1.125, allocations: 0.6621 MB / 0.8047 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003115/1.125, allocations: 57.67 kB / 0.8047 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.125, allocations: 3.938 kB / 0.8047 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.125, allocations: 32.33 kB / 0.8048 GB, free: 25.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/1.126, allocations: 23.41 kB / 0.8048 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/1.126, allocations: 165.9 kB / 0.8049 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/1.127, allocations: 0.698 MB / 0.8056 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.601e-05/1.127, allocations: 10.97 kB / 0.8056 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/1.127, allocations: 23.5 kB / 0.8056 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of SimCode: time 2.505e-06/1.127, allocations: 0 / 0.8056 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/1.152, allocations: 2.04 MB / 0.8076 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/1.152, allocations: 170.6 kB / 0.8078 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.326, allocations: 0 / 0.8078 GB, free: 24.07 MB / 0.6511 GB