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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.799/4.799, allocations: 404.1 MB / 411.3 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.954e-05, allocations: 4 kB / 0.4946 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7211/0.7212, allocations: 92.68 MB / 0.5851 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.9849, allocations: 121.5 MB / 0.7037 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/0.9853, allocations: 75.95 kB / 0.7037 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02044/1.006, allocations: 3.222 MB / 0.7069 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/1.006, allocations: 0 / 0.7069 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.238e-05/1.006, allocations: 4 kB / 0.7069 GB, free: 5.395 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.002082/1.008, allocations: 0.5808 MB / 0.7075 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/1.008, allocations: 12.02 kB / 0.7075 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.008, allocations: 23.77 kB / 0.7075 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/1.009, allocations: 254.4 kB / 0.7077 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/1.009, allocations: 4 kB / 0.7077 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/1.009, allocations: 8 kB / 0.7077 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004343/1.009, allocations: 96.45 kB / 0.7078 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/1.01, allocations: 166 kB / 0.708 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.01, allocations: 0 / 0.708 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/1.01, allocations: 0 / 0.708 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/1.01, allocations: 7.953 kB / 0.708 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/1.011, allocations: 0.5053 MB / 0.7085 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/1.012, allocations: 146.6 kB / 0.7086 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/1.012, allocations: 57.03 kB / 0.7087 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/1.012, allocations: 4 kB / 0.7087 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/1.013, allocations: 131.2 kB / 0.7088 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 4.319e-06/1.013, allocations: 0 / 0.7088 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0006166/1.013, allocations: 142.5 kB / 0.709 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/1.014, allocations: 118.8 kB / 0.7091 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.014, allocations: 169.8 kB / 0.7092 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/1.014, allocations: 29.69 kB / 0.7093 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/1.014, allocations: 124.4 kB / 0.7094 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/1.014, allocations: 47.3 kB / 0.7094 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/1.014, allocations: 0 / 0.7094 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.014, allocations: 330.8 kB / 0.7097 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/1.015, allocations: 55.95 kB / 0.7098 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/1.015, allocations: 83.25 kB / 0.7099 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.015, allocations: 45.12 kB / 0.7099 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.015, allocations: 0 / 0.7099 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006575/1.016, allocations: 176.7 kB / 0.7101 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.016, allocations: 148.3 kB / 0.7102 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.016, allocations: 4 kB / 0.7102 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.016, allocations: 0 / 0.7102 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/1.017, allocations: 75.95 kB / 0.7103 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.017, allocations: 0 / 0.7103 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/1.018, allocations: 67.88 kB / 0.7104 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/1.018, allocations: 7.938 kB / 0.7104 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.018, allocations: 4 kB / 0.7104 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005429/1.018, allocations: 139.8 kB / 0.7105 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.018, allocations: 0 / 0.7105 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/1.018, allocations: 0 / 0.7105 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/1.019, allocations: 55.95 kB / 0.7106 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/1.019, allocations: 0 / 0.7106 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/1.02, allocations: 59.84 kB / 0.7106 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.02, allocations: 4 kB / 0.7106 GB, free: 1.301 MB / 0.5886 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.0001896/1.02, allocations: 112.9 kB / 0.7107 GB, free: 1.184 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005143/1.02, allocations: 154.5 kB / 0.7109 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/1.02, allocations: 27.8 kB / 0.7109 GB, free: 1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.967e-05/1.021, allocations: 17.97 kB / 0.7109 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/1.021, allocations: 0 / 0.7109 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.021, allocations: 0 / 0.7109 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.021, allocations: 0 / 0.7109 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/1.021, allocations: 253.9 kB / 0.7112 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.021, allocations: 0 / 0.7112 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/1.022, allocations: 75.88 kB / 0.7112 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.022, allocations: 0 / 0.7112 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.022, allocations: 4 kB / 0.7112 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.022, allocations: 0 / 0.7112 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.022, allocations: 0 / 0.7112 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/1.022, allocations: 182.2 kB / 0.7114 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/1.023, allocations: 100.8 kB / 0.7115 GB, free: 312 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/1.023, allocations: 4 kB / 0.7115 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/1.023, allocations: 59.94 kB / 0.7116 GB, free: 248 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.024, allocations: 31.95 kB / 0.7116 GB, free: 216 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/1.024, allocations: 3.984 kB / 0.7116 GB, free: 212 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000196/1.024, allocations: 140.3 kB / 0.7117 GB, free: 72 kB / 0.5886 GB Notification: Performance of sort global known variables: time 6.11e-07/1.024, allocations: 0 / 0.7117 GB, free: 72 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006795/1.025, allocations: 72.09 kB / 0.7118 GB, free: 0 / 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: 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.001002/1.026, allocations: 0.7432 MB / 0.7125 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009434/1.027, allocations: 418.9 kB / 0.7129 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.027, allocations: 0 / 0.7129 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/1.027, allocations: 71.92 kB / 0.713 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/1.027, allocations: 23.92 kB / 0.713 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/1.029, allocations: 267.4 kB / 0.7133 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.029, allocations: 0.7289 MB / 0.714 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003663/1.029, allocations: 34.09 kB / 0.714 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.03, allocations: 55.41 kB / 0.7141 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.342e-06/1.03, allocations: 0 / 0.7141 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/1.083, allocations: 4.362 MB / 0.7183 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003833/1.084, allocations: 174.3 kB / 0.7185 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.083/4.166, allocations: 1.406 kB / 0.7185 GB, free: 9.023 MB / 0.6042 GB