Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadModel(Buildings): time 3.502/3.502, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.786e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4782, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6672, allocations: 123 MB / 0.7097 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6676, allocations: 95.92 kB / 0.7098 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.6884, allocations: 4.898 MB / 0.7146 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.881e-06/0.6884, allocations: 3.938 kB / 0.7146 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.559e-06/0.6885, allocations: 7.938 kB / 0.7146 GB, free: 14.31 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009622/0.6894, allocations: 0.5676 MB / 0.7152 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.6895, allocations: 8.031 kB / 0.7152 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.6896, allocations: 35.67 kB / 0.7152 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.6898, allocations: 193.9 kB / 0.7154 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.6899, allocations: 15.94 kB / 0.7154 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.69, allocations: 20 kB / 0.7154 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.6904, allocations: 167 kB / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.6904, allocations: 3.984 kB / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.6904, allocations: 0 / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-06/0.6905, allocations: 0 / 0.7156 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.6907, allocations: 59.98 kB / 0.7156 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.692, allocations: 0.5626 MB / 0.7162 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.6923, allocations: 126.9 kB / 0.7163 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.6925, allocations: 56.84 kB / 0.7164 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.6926, allocations: 4 kB / 0.7164 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/0.6931, allocations: 207.6 kB / 0.7166 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/0.6931, allocations: 0 / 0.7166 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006127/0.6937, allocations: 223.6 kB / 0.7168 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.6938, allocations: 63.36 kB / 0.7168 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.6941, allocations: 225 kB / 0.7171 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.6942, allocations: 37.7 kB / 0.7171 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6943, allocations: 100.9 kB / 0.7172 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.6944, allocations: 47.44 kB / 0.7172 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.6945, allocations: 8 kB / 0.7172 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6946, allocations: 322.8 kB / 0.7176 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.695, allocations: 112.2 kB / 0.7177 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.6954, allocations: 165.7 kB / 0.7178 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.6957, allocations: 158 kB / 0.718 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.47e-06/0.6957, allocations: 0 / 0.718 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001057/0.6968, allocations: 419.1 kB / 0.7184 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.6969, allocations: 79.38 kB / 0.7184 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.697, allocations: 8 kB / 0.7185 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.697, allocations: 0 / 0.7185 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.6972, allocations: 32.11 kB / 0.7185 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.778e-06/0.6972, allocations: 4 kB / 0.7185 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.6977, allocations: 55.77 kB / 0.7185 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.6978, allocations: 43.91 kB / 0.7186 GB, free: 9.949 MB / 0.6042 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001738/0.698, allocations: 140 kB / 0.7187 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.698, allocations: 19.72 kB / 0.7187 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.6981, allocations: 25.95 kB / 0.7188 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.385e-06/0.6981, allocations: 7.938 kB / 0.7188 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-06/0.6982, allocations: 0 / 0.7188 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-06/0.6982, allocations: 0 / 0.7188 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.6992, allocations: 0.5685 MB / 0.7193 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-06/0.6992, allocations: 0 / 0.7193 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.6993, allocations: 8 kB / 0.7193 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-06/0.6993, allocations: 4 kB / 0.7193 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.6993, allocations: 15.97 kB / 0.7194 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.995e-06/0.6993, allocations: 7.953 kB / 0.7194 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.6994, allocations: 0 / 0.7194 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.6999, allocations: 317.2 kB / 0.7197 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.7002, allocations: 144.8 kB / 0.7198 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.7002, allocations: 15.98 kB / 0.7198 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.7005, allocations: 12 kB / 0.7198 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.7006, allocations: 23.92 kB / 0.7198 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.7007, allocations: 23.98 kB / 0.7199 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002231/0.7009, allocations: 177.4 kB / 0.72 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.198e-06/0.7009, allocations: 0 / 0.72 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004746/0.7014, allocations: 64.08 kB / 0.7201 GB, free: 8.305 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: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002267/0.7016, allocations: 136.8 kB / 0.7202 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007679/0.7024, allocations: 362.8 kB / 0.7206 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.029e-06/0.7024, allocations: 0 / 0.7206 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.7026, allocations: 75.91 kB / 0.7207 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.703, allocations: 30.22 kB / 0.7207 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.7036, allocations: 246.7 kB / 0.7209 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.7041, allocations: 0.74 MB / 0.7216 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000185/0.7043, allocations: 33.19 kB / 0.7217 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.7044, allocations: 35.42 kB / 0.7217 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of SimCode: time 1.417e-06/0.7045, allocations: 0 / 0.7217 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of Templates: time 0.01066/0.7151, allocations: 4.363 MB / 0.726 GB, free: 2.238 MB / 0.6042 GB