Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.251/3.251, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.871e-05, allocations: 4 kB / 436.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 77.73 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6712/0.8673, allocations: 107.5 MB / 0.6073 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.8676, allocations: 75.89 kB / 0.6073 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.8912, allocations: 4.446 MB / 0.6117 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.378e-06/0.8913, allocations: 0 / 0.6117 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.8913, allocations: 7.938 kB / 0.6117 GB, free: 9.07 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001261/0.8926, allocations: 0.5749 MB / 0.6122 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.278e-05/0.8927, allocations: 12.03 kB / 0.6123 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.987e-05/0.8928, allocations: 38.56 kB / 0.6123 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.8929, allocations: 31.62 kB / 0.6123 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.8934, allocations: 250.6 kB / 0.6126 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.8935, allocations: 15.98 kB / 0.6126 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.8936, allocations: 16 kB / 0.6126 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.894, allocations: 145.5 kB / 0.6127 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.894, allocations: 0 / 0.6127 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.8941, allocations: 0 / 0.6127 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.8941, allocations: 4 kB / 0.6127 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.8943, allocations: 43.98 kB / 0.6128 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.8948, allocations: 341.2 kB / 0.6131 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.8952, allocations: 118.9 kB / 0.6132 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.8954, allocations: 53.09 kB / 0.6133 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.8955, allocations: 15.94 kB / 0.6133 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.8961, allocations: 206.3 kB / 0.6135 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.026e-06/0.8961, allocations: 0 / 0.6135 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007644/0.8969, allocations: 221.2 kB / 0.6137 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.897, allocations: 63.34 kB / 0.6137 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.8974, allocations: 255.3 kB / 0.614 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.8975, allocations: 45.62 kB / 0.614 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.8976, allocations: 89.14 kB / 0.6141 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.8977, allocations: 43.5 kB / 0.6142 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.8978, allocations: 8 kB / 0.6142 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.8979, allocations: 326.8 kB / 0.6145 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.8983, allocations: 100.2 kB / 0.6146 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.8988, allocations: 142.2 kB / 0.6147 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.8992, allocations: 154.7 kB / 0.6149 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8992, allocations: 4 kB / 0.6149 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001174/0.9004, allocations: 403.1 kB / 0.6152 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.9005, allocations: 75.38 kB / 0.6153 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.9005, allocations: 4 kB / 0.6153 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.9006, allocations: 4 kB / 0.6153 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.9009, allocations: 27.92 kB / 0.6154 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.9009, allocations: 4.719 kB / 0.6154 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.9016, allocations: 59.98 kB / 0.6154 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9017, allocations: 51.98 kB / 0.6155 GB, free: 4.891 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0002162/0.902, allocations: 139 kB / 0.6156 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.902, allocations: 23.72 kB / 0.6156 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.9022, allocations: 30.03 kB / 0.6156 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9022, allocations: 4 kB / 0.6156 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.9022, allocations: 4 kB / 0.6157 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9022, allocations: 0 / 0.6157 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.9035, allocations: 0.5524 MB / 0.6162 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9035, allocations: 3.984 kB / 0.6162 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.9036, allocations: 8 kB / 0.6162 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.9036, allocations: 0 / 0.6162 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.9037, allocations: 15.98 kB / 0.6162 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.9037, allocations: 0 / 0.6162 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9037, allocations: 4 kB / 0.6162 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.9043, allocations: 322.9 kB / 0.6165 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.9047, allocations: 160.7 kB / 0.6167 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.9048, allocations: 8 kB / 0.6167 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.9051, allocations: 4 kB / 0.6167 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.9052, allocations: 19.97 kB / 0.6167 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.9053, allocations: 27.98 kB / 0.6167 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000318/0.9056, allocations: 211.1 kB / 0.6169 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9056, allocations: 0 / 0.6169 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005745/0.9062, allocations: 56 kB / 0.617 GB, free: 3.219 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001078/0.9073, allocations: 0.8643 MB / 0.6178 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009601/0.9083, allocations: 346.8 kB / 0.6182 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9083, allocations: 4 kB / 0.6182 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.9085, allocations: 74.09 kB / 0.6182 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.909, allocations: 22.56 kB / 0.6183 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.9102, allocations: 336.1 kB / 0.6186 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.9106, allocations: 0.7477 MB / 0.6193 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.9108, allocations: 41.19 kB / 0.6194 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.9111, allocations: 43.41 kB / 0.6194 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of SimCode: time 4.889e-06/0.9111, allocations: 0 / 0.6194 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.9411, allocations: 5.421 MB / 0.6247 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003702/0.9416, allocations: 173.1 kB / 0.6249 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.525, allocations: 0 / 0.6249 GB, free: 11.08 MB / 0.5105 GB