Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.078/4.078, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.365e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6585, allocations: 92.67 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2589/0.9175, allocations: 122.1 MB / 0.7089 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.9179, allocations: 83.94 kB / 0.709 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.9349, allocations: 3.226 MB / 0.7121 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.874e-06/0.935, allocations: 0 / 0.7121 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.935, allocations: 4 kB / 0.7121 GB, free: 0.7812 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001696/0.9367, allocations: 0.5848 MB / 0.7127 GB, free: 140 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.9368, allocations: 8.031 kB / 0.7127 GB, free: 132 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.9368, allocations: 46.55 kB / 0.7128 GB, free: 76 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.9369, allocations: 23.77 kB / 0.7128 GB, free: 52 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.9374, allocations: 246.6 kB / 0.713 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.9374, allocations: 8.234 kB / 0.713 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.9375, allocations: 19.94 kB / 0.7131 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.938, allocations: 177.6 kB / 0.7132 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.938, allocations: 3.938 kB / 0.7132 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.938, allocations: 8 kB / 0.7132 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.9381, allocations: 4 kB / 0.7132 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.9384, allocations: 104.4 kB / 0.7133 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.9396, allocations: 0.5443 MB / 0.7139 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.9402, allocations: 146.7 kB / 0.714 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.9404, allocations: 56.86 kB / 0.7141 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.9405, allocations: 3.984 kB / 0.7141 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.9409, allocations: 147.1 kB / 0.7142 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.755e-06/0.9409, allocations: 0 / 0.7142 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005191/0.9414, allocations: 153.5 kB / 0.7144 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.9415, allocations: 102.8 kB / 0.7145 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.9418, allocations: 190 kB / 0.7146 GB, free: 14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.9419, allocations: 29.7 kB / 0.7147 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.942, allocations: 128 kB / 0.7148 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.9421, allocations: 43.36 kB / 0.7148 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.9421, allocations: 4 kB / 0.7148 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9423, allocations: 338.8 kB / 0.7152 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.9425, allocations: 51.98 kB / 0.7152 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.9427, allocations: 83.19 kB / 0.7153 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.9429, allocations: 102 kB / 0.7154 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9429, allocations: 0 / 0.7154 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005889/0.9435, allocations: 242.5 kB / 0.7156 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.9436, allocations: 148.4 kB / 0.7158 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.9437, allocations: 3.938 kB / 0.7158 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9437, allocations: 4 kB / 0.7158 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.9443, allocations: 75.86 kB / 0.7158 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.9443, allocations: 3.984 kB / 0.7158 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.945, allocations: 75.78 kB / 0.7159 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.9451, allocations: 4 kB / 0.7159 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.9451, allocations: 4 kB / 0.7159 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000512/0.9456, allocations: 206.1 kB / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.9456, allocations: 0 / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.9456, allocations: 0 / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.9461, allocations: 59.95 kB / 0.7162 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.9461, allocations: 0 / 0.7162 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.9467, allocations: 59.78 kB / 0.7162 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.9468, allocations: 15.94 kB / 0.7162 GB, free: 12.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001475/0.9469, allocations: 114.3 kB / 0.7164 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.947, allocations: 19.75 kB / 0.7164 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.581e-05/0.9471, allocations: 25.64 kB / 0.7164 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9471, allocations: 0 / 0.7164 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9471, allocations: 0 / 0.7164 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9472, allocations: 0 / 0.7164 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.9476, allocations: 285.4 kB / 0.7167 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9476, allocations: 0 / 0.7167 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005534/0.9482, allocations: 67.92 kB / 0.7167 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.9482, allocations: 4 kB / 0.7167 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.9482, allocations: 0 / 0.7167 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.9482, allocations: 7.938 kB / 0.7167 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9482, allocations: 3.938 kB / 0.7167 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.9487, allocations: 201.3 kB / 0.7169 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.9488, allocations: 92.91 kB / 0.717 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.9489, allocations: 12 kB / 0.717 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.9495, allocations: 59.94 kB / 0.7171 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.9497, allocations: 31.95 kB / 0.7171 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.9498, allocations: 7.984 kB / 0.7171 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002067/0.95, allocations: 151 kB / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.95, allocations: 0 / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005202/0.9505, allocations: 84.09 kB / 0.7174 GB, free: 11.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008916/0.9514, allocations: 0.741 MB / 0.7181 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.9525, allocations: 426.5 kB / 0.7185 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9525, allocations: 0 / 0.7185 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.9527, allocations: 75.94 kB / 0.7186 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.9531, allocations: 27.92 kB / 0.7186 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.9542, allocations: 268 kB / 0.7188 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.9546, allocations: 0.7331 MB / 0.7196 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.9549, allocations: 42.23 kB / 0.7196 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.955, allocations: 51.42 kB / 0.7197 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of SimCode: time 1.183e-06/0.9551, allocations: 0 / 0.7197 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.9879, allocations: 4.995 MB / 0.7245 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.9883, allocations: 205.4 kB / 0.7247 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.449, allocations: 4.062 kB / 0.7247 GB, free: 3.422 MB / 0.6042 GB