Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.611e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2512, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9075/1.159, allocations: 134.3 MB / 0.8089 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.159, allocations: 89.17 kB / 0.809 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0169/1.176, allocations: 3.639 MB / 0.8126 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/1.176, allocations: 0 / 0.8126 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.073e-05/1.176, allocations: 3.844 kB / 0.8126 GB, free: 11.98 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001641/1.178, allocations: 0.5946 MB / 0.8132 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.178, allocations: 7.688 kB / 0.8132 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.774e-05/1.178, allocations: 44.28 kB / 0.8132 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/1.178, allocations: 21.77 kB / 0.8132 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/1.178, allocations: 270.7 kB / 0.8135 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/1.179, allocations: 14.98 kB / 0.8135 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/1.179, allocations: 15.09 kB / 0.8135 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/1.179, allocations: 181.6 kB / 0.8137 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.179, allocations: 0 / 0.8137 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/1.179, allocations: 10.81 kB / 0.8137 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.179, allocations: 2.719 kB / 0.8137 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/1.179, allocations: 106 kB / 0.8138 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.181, allocations: 0.5537 MB / 0.8144 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/1.181, allocations: 150.1 kB / 0.8145 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.181, allocations: 63.05 kB / 0.8146 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/1.181, allocations: 2.859 kB / 0.8146 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/1.182, allocations: 132.8 kB / 0.8147 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.885e-06/1.182, allocations: 0 / 0.8147 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004995/1.182, allocations: 158.8 kB / 0.8148 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.182, allocations: 109.8 kB / 0.8149 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/1.183, allocations: 188.5 kB / 0.8151 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/1.183, allocations: 34.66 kB / 0.8152 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.042e-05/1.183, allocations: 133.2 kB / 0.8153 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/1.183, allocations: 51.17 kB / 0.8153 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/1.183, allocations: 3.562 kB / 0.8153 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/1.183, allocations: 333.7 kB / 0.8157 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/1.183, allocations: 47.28 kB / 0.8157 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/1.183, allocations: 88.25 kB / 0.8158 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/1.184, allocations: 99.53 kB / 0.8159 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.184, allocations: 0 / 0.8159 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005258/1.184, allocations: 243 kB / 0.8161 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/1.184, allocations: 154 kB / 0.8163 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.184, allocations: 0 / 0.8163 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.184, allocations: 4 kB / 0.8163 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/1.185, allocations: 74.64 kB / 0.8163 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.185, allocations: 0 / 0.8163 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/1.186, allocations: 75.31 kB / 0.8164 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/1.186, allocations: 7.688 kB / 0.8164 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.186, allocations: 3.875 kB / 0.8164 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004677/1.186, allocations: 201.3 kB / 0.8166 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/1.186, allocations: 0 / 0.8166 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/1.186, allocations: 3.875 kB / 0.8166 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/1.187, allocations: 58.36 kB / 0.8167 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.187, allocations: 6.844 kB / 0.8167 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/1.187, allocations: 61.28 kB / 0.8167 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/1.187, allocations: 9.938 kB / 0.8167 GB, free: 9.57 MB / 0.6355 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.0001333/1.187, allocations: 120.2 kB / 0.8169 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/1.187, allocations: 15.59 kB / 0.8169 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/1.188, allocations: 27.25 kB / 0.8169 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.188, allocations: 3.812 kB / 0.8169 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.188, allocations: 0 / 0.8169 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.188, allocations: 0 / 0.8169 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/1.188, allocations: 289.8 kB / 0.8172 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.188, allocations: 0 / 0.8172 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/1.189, allocations: 66.81 kB / 0.8172 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.189, allocations: 11.86 kB / 0.8173 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.189, allocations: 3.562 kB / 0.8173 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.189, allocations: 0 / 0.8173 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.189, allocations: 0 / 0.8173 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/1.189, allocations: 194.8 kB / 0.8174 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/1.189, allocations: 98.81 kB / 0.8175 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/1.189, allocations: 0 / 0.8175 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/1.19, allocations: 67.81 kB / 0.8176 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.19, allocations: 31.17 kB / 0.8176 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.19, allocations: 3.906 kB / 0.8176 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001796/1.19, allocations: 158.1 kB / 0.8178 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/1.19, allocations: 0 / 0.8178 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005511/1.191, allocations: 81.92 kB / 0.8179 GB, free: 8.949 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: 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.001091/1.192, allocations: 0.7414 MB / 0.8186 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008515/1.193, allocations: 430.6 kB / 0.819 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.193, allocations: 4 kB / 0.819 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/1.193, allocations: 73.5 kB / 0.8191 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/1.193, allocations: 39.02 kB / 0.8191 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/1.194, allocations: 283.9 kB / 0.8194 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.195, allocations: 0.7384 MB / 0.8201 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002944/1.195, allocations: 37.67 kB / 0.8201 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/1.195, allocations: 56.02 kB / 0.8202 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.294e-06/1.195, allocations: 0 / 0.8202 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/1.228, allocations: 5.234 MB / 0.8253 GB, free: 22.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/1.228, allocations: 187.6 kB / 0.8255 GB, free: 22.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.714, allocations: 3.938 kB / 0.8255 GB, free: 22.21 MB / 0.6511 GB