Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_6_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.998/3.998, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.839e-05, allocations: 3.641 kB / 0.5338 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 98.72 MB / 0.6302 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/0.4744, allocations: 126.5 MB / 0.7537 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.4749, allocations: 79.94 kB / 0.7538 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.4916, allocations: 3.235 MB / 0.7569 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4917, allocations: 0 / 0.7569 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.4917, allocations: 4 kB / 0.757 GB, free: 4.164 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001684/0.4934, allocations: 0.581 MB / 0.7575 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4935, allocations: 15.95 kB / 0.7575 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/0.4936, allocations: 38.56 kB / 0.7576 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.4937, allocations: 23.72 kB / 0.7576 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.4942, allocations: 262.3 kB / 0.7578 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.4942, allocations: 8.234 kB / 0.7579 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.4943, allocations: 8 kB / 0.7579 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.4948, allocations: 178.1 kB / 0.758 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4948, allocations: 0 / 0.758 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.4949, allocations: 4 kB / 0.758 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4949, allocations: 4 kB / 0.758 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.4953, allocations: 100.5 kB / 0.7581 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.4966, allocations: 0.5481 MB / 0.7587 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.4972, allocations: 146.6 kB / 0.7588 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.4974, allocations: 64.94 kB / 0.7589 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4975, allocations: 0 / 0.7589 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.4979, allocations: 135.2 kB / 0.759 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.956e-06/0.4979, allocations: 0 / 0.759 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005815/0.4985, allocations: 165.3 kB / 0.7592 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.4986, allocations: 106.8 kB / 0.7593 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.4989, allocations: 186 kB / 0.7594 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.4989, allocations: 33.7 kB / 0.7595 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4991, allocations: 124 kB / 0.7596 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.4992, allocations: 47.34 kB / 0.7596 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.4992, allocations: 4 kB / 0.7596 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4994, allocations: 330.8 kB / 0.76 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4996, allocations: 55.95 kB / 0.76 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.4998, allocations: 83.42 kB / 0.7601 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.5, allocations: 105.4 kB / 0.7602 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5001, allocations: 0 / 0.7602 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006092/0.5007, allocations: 236.8 kB / 0.7604 GB, free: 340 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.5008, allocations: 150.6 kB / 0.7606 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5008, allocations: 0 / 0.7606 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5009, allocations: 8.031 kB / 0.7606 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.5015, allocations: 67.94 kB / 0.7606 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5015, allocations: 3.984 kB / 0.7606 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.5022, allocations: 75.78 kB / 0.7607 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.5023, allocations: 7.984 kB / 0.7607 GB, free: 8 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.5023, allocations: 11.98 kB / 0.7607 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005131/0.5028, allocations: 203.2 kB / 0.7609 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5029, allocations: 3.938 kB / 0.7609 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.5029, allocations: 3.938 kB / 0.7609 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.5033, allocations: 55.94 kB / 0.761 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5034, allocations: 4 kB / 0.761 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.5039, allocations: 51.95 kB / 0.761 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.504, allocations: 4 kB / 0.761 GB, free: 15.66 MB / 0.6511 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.0001581/0.5041, allocations: 128.9 kB / 0.7612 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.5042, allocations: 19.72 kB / 0.7612 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.5043, allocations: 21.66 kB / 0.7612 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5043, allocations: 0 / 0.7612 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5043, allocations: 0 / 0.7612 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5044, allocations: 3.984 kB / 0.7612 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.5048, allocations: 289.4 kB / 0.7615 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5048, allocations: 0 / 0.7615 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.5053, allocations: 67.94 kB / 0.7615 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5053, allocations: 4 kB / 0.7615 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.5054, allocations: 3.984 kB / 0.7615 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.5054, allocations: 0 / 0.7615 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5054, allocations: 0 / 0.7615 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.5059, allocations: 193.6 kB / 0.7617 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.506, allocations: 100.8 kB / 0.7618 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.5061, allocations: 4 kB / 0.7618 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.5068, allocations: 67.92 kB / 0.7619 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5069, allocations: 31.95 kB / 0.7619 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.507, allocations: 4 kB / 0.7619 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002111/0.5072, allocations: 156.4 kB / 0.7621 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5072, allocations: 0 / 0.7621 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005364/0.5077, allocations: 71.84 kB / 0.7621 GB, free: 14.43 MB / 0.6511 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.0009305/0.5087, allocations: 0.7442 MB / 0.7629 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009109/0.5096, allocations: 432.6 kB / 0.7633 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5096, allocations: 0 / 0.7633 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.5099, allocations: 75.92 kB / 0.7634 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.5103, allocations: 31.92 kB / 0.7634 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5113, allocations: 271 kB / 0.7636 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5117, allocations: 0.7292 MB / 0.7644 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.512, allocations: 38.31 kB / 0.7644 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5122, allocations: 59.41 kB / 0.7645 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/0.5122, allocations: 0 / 0.7645 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.5475, allocations: 5.003 MB / 0.7693 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000401/0.548, allocations: 190.3 kB / 0.7695 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.051, allocations: 3.938 kB / 0.7695 GB, free: 6.809 MB / 0.6511 GB