Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.751/3.751, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.797e-05/4.808e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6038, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.8279, allocations: 120.7 MB / 0.7075 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.8283, allocations: 87.94 kB / 0.7076 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005041/0.8334, allocations: 1.179 MB / 0.7088 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8334, allocations: 4 kB / 0.7088 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.8335, allocations: 0 / 0.7088 GB, free: 4.316 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006921/0.8342, allocations: 379.7 kB / 0.7091 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.8342, allocations: 16.03 kB / 0.7092 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.8343, allocations: 34.56 kB / 0.7092 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.8344, allocations: 11.86 kB / 0.7092 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.8346, allocations: 179 kB / 0.7094 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.8346, allocations: 4 kB / 0.7094 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.8346, allocations: 7.984 kB / 0.7094 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.8348, allocations: 61.62 kB / 0.7094 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8348, allocations: 3.938 kB / 0.7095 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.8349, allocations: 4 kB / 0.7095 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8349, allocations: 0 / 0.7095 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.835, allocations: 43.88 kB / 0.7095 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.8356, allocations: 300.8 kB / 0.7098 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.8358, allocations: 46.58 kB / 0.7098 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.8359, allocations: 16.86 kB / 0.7098 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.8359, allocations: 8 kB / 0.7099 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.8361, allocations: 91.27 kB / 0.7099 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.8362, allocations: 0 / 0.7099 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0002998/0.8365, allocations: 89.53 kB / 0.71 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.8365, allocations: 59.39 kB / 0.7101 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.8367, allocations: 117 kB / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.8367, allocations: 29.7 kB / 0.7102 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.8368, allocations: 92.28 kB / 0.7103 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.8369, allocations: 19.72 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.8369, allocations: 4 kB / 0.7103 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.837, allocations: 322.8 kB / 0.7106 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.8371, allocations: 16 kB / 0.7107 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.8372, allocations: 51.44 kB / 0.7107 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.8373, allocations: 23.98 kB / 0.7107 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8373, allocations: 0 / 0.7107 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002399/0.8376, allocations: 105.5 kB / 0.7108 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8376, allocations: 4 kB / 0.7108 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.8376, allocations: 7.938 kB / 0.7108 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8377, allocations: 4 kB / 0.7108 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.8378, allocations: 7.938 kB / 0.7109 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8378, allocations: 4 kB / 0.7109 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.838, allocations: 20.08 kB / 0.7109 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.838, allocations: 8 kB / 0.7109 GB, free: 1.934 MB / 0.5886 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 0.0001095/0.8381, allocations: 120.9 kB / 0.711 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.8382, allocations: 7.906 kB / 0.711 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.8382, allocations: 12.62 kB / 0.711 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8383, allocations: 7.891 kB / 0.711 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8383, allocations: 4 kB / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8383, allocations: 0 / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.8385, allocations: 193.5 kB / 0.7112 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8386, allocations: 0 / 0.7112 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.8386, allocations: 8 kB / 0.7112 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8386, allocations: 0 / 0.7112 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.8386, allocations: 7.984 kB / 0.7112 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.8386, allocations: 0 / 0.7112 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8386, allocations: 3.953 kB / 0.7112 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.8389, allocations: 125 kB / 0.7114 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.839, allocations: 81.02 kB / 0.7114 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.839, allocations: 4 kB / 0.7114 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.8392, allocations: 15.98 kB / 0.7114 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.8393, allocations: 27.91 kB / 0.7115 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.8393, allocations: 0 / 0.7115 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001066/0.8395, allocations: 107.7 kB / 0.7116 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8395, allocations: 0 / 0.7116 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002592/0.8397, allocations: 12 kB / 0.7116 GB, free: 1.117 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: 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.0006238/0.8404, allocations: 0.6669 MB / 0.7122 GB, free: 432 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.8406, allocations: 67.88 kB / 0.7123 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8406, allocations: 0 / 0.7123 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8407, allocations: 28 kB / 0.7123 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.8411, allocations: 26.47 kB / 0.7124 GB, free: 312 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.8416, allocations: 162.7 kB / 0.7125 GB, free: 112 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.842, allocations: 0.6967 MB / 0.7132 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.696e-05/0.8421, allocations: 12.55 kB / 0.7132 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.8422, allocations: 19.44 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of SimCode: time 9.71e-07/0.8422, allocations: 0 / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.8669, allocations: 2.034 MB / 0.7152 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.8672, allocations: 177.8 kB / 0.7154 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.084, allocations: 0 / 0.7154 GB, free: 13.17 MB / 0.6042 GB