Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.738/3.738, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.008e-05, allocations: 8 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6197, allocations: 92.68 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.8405, allocations: 121.3 MB / 0.7081 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.8409, allocations: 87.94 kB / 0.7082 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005198/0.8461, allocations: 1.125 MB / 0.7093 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8462, allocations: 0 / 0.7093 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.8462, allocations: 0 / 0.7093 GB, free: 3.797 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007507/0.8469, allocations: 390.3 kB / 0.7097 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.445e-05/0.847, allocations: 12.03 kB / 0.7097 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.8471, allocations: 30.56 kB / 0.7097 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.8471, allocations: 11.94 kB / 0.7097 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.8473, allocations: 170.9 kB / 0.7099 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.8474, allocations: 11.98 kB / 0.7099 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.8474, allocations: 3.938 kB / 0.7099 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.8476, allocations: 53.69 kB / 0.7099 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8476, allocations: 7.938 kB / 0.71 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8476, allocations: 4 kB / 0.71 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8476, allocations: 3.984 kB / 0.71 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.8478, allocations: 31.95 kB / 0.71 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.8483, allocations: 284.9 kB / 0.7103 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.8484, allocations: 42.5 kB / 0.7103 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.8485, allocations: 28.98 kB / 0.7103 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.8486, allocations: 0 / 0.7103 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.8488, allocations: 63.36 kB / 0.7104 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/0.8488, allocations: 0 / 0.7104 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002633/0.849, allocations: 77.53 kB / 0.7105 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.8491, allocations: 51.41 kB / 0.7105 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.8492, allocations: 116.9 kB / 0.7106 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.8493, allocations: 33.64 kB / 0.7107 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.8494, allocations: 88.05 kB / 0.7107 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.8494, allocations: 19.88 kB / 0.7108 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.8494, allocations: 0 / 0.7108 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8496, allocations: 318.8 kB / 0.7111 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.8496, allocations: 15.98 kB / 0.7111 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.8497, allocations: 29.72 kB / 0.7111 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.8498, allocations: 15.98 kB / 0.7111 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8498, allocations: 4 kB / 0.7111 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000191/0.85, allocations: 69.62 kB / 0.7112 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.85, allocations: 8 kB / 0.7112 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8501, allocations: 0 / 0.7112 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8501, allocations: 3.953 kB / 0.7112 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.8503, allocations: 19.98 kB / 0.7112 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8504, allocations: 4.156 kB / 0.7112 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.8506, allocations: 39.84 kB / 0.7113 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8506, allocations: 3.984 kB / 0.7113 GB, free: 1.539 MB / 0.5886 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 9.272e-05/0.8507, allocations: 108.9 kB / 0.7114 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.8508, allocations: 4 kB / 0.7114 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.8508, allocations: 8.625 kB / 0.7114 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.8508, allocations: 15.88 kB / 0.7114 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8509, allocations: 0 / 0.7114 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8509, allocations: 0 / 0.7114 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.8511, allocations: 185.5 kB / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.8511, allocations: 128 / 0.7116 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.8513, allocations: 27.97 kB / 0.7116 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8514, allocations: 0 / 0.7116 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8514, allocations: 0 / 0.7116 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.8514, allocations: 0 / 0.7116 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8514, allocations: 7.953 kB / 0.7116 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.8516, allocations: 93.12 kB / 0.7117 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.8517, allocations: 88.95 kB / 0.7118 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.8517, allocations: 0 / 0.7118 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.852, allocations: 31.97 kB / 0.7118 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.852, allocations: 7.984 kB / 0.7118 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8521, allocations: 3.953 kB / 0.7118 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.8522, allocations: 91.28 kB / 0.7119 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8522, allocations: 0 / 0.7119 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002519/0.8524, allocations: 23.92 kB / 0.7119 GB, free: 0.7617 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: 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.0005705/0.853, allocations: 0.6356 MB / 0.7126 GB, free: 100 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.8532, allocations: 43.94 kB / 0.7126 GB, free: 56 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8532, allocations: 0 / 0.7126 GB, free: 56 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.8533, allocations: 20 kB / 0.7126 GB, free: 36 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.8536, allocations: 13.7 kB / 0.7126 GB, free: 24 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.8541, allocations: 135.1 kB / 0.7128 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.8545, allocations: 0.6926 MB / 0.7134 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.8546, allocations: 4.172 kB / 0.7134 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.8547, allocations: 19.44 kB / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of SimCode: time 9.31e-07/0.8547, allocations: 0 / 0.7135 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.8798, allocations: 1.722 MB / 0.7151 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.8802, allocations: 156.4 kB / 0.7153 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/3.049, allocations: 4 kB / 0.7153 GB, free: 13.23 MB / 0.6042 GB