Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadModel(BuildingSystems): time 3.321/3.321, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.286e-05, allocations: 4 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 77.73 MB / 0.5022 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/0.6688, allocations: 107.4 MB / 0.6071 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.6691, allocations: 71.95 kB / 0.6072 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.6889, allocations: 4.44 MB / 0.6115 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.25e-06/0.6889, allocations: 0 / 0.6115 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.6889, allocations: 7.938 kB / 0.6115 GB, free: 9.188 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.001009/0.69, allocations: 0.5672 MB / 0.6121 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.69, allocations: 12.03 kB / 0.6121 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6901, allocations: 35.62 kB / 0.6121 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.6906, allocations: 254.5 kB / 0.6124 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.6906, allocations: 12 kB / 0.6124 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.6907, allocations: 15.98 kB / 0.6124 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.6911, allocations: 145.5 kB / 0.6125 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.462e-06/0.6911, allocations: 0 / 0.6125 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.6912, allocations: 4 kB / 0.6126 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.6912, allocations: 0 / 0.6126 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.6913, allocations: 43.98 kB / 0.6126 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.6919, allocations: 341.2 kB / 0.6129 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.6922, allocations: 130.6 kB / 0.613 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.6924, allocations: 52.84 kB / 0.6131 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.6924, allocations: 4 kB / 0.6131 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.693, allocations: 210.3 kB / 0.6133 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.428e-06/0.693, allocations: 3.938 kB / 0.6133 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006082/0.6936, allocations: 217.2 kB / 0.6135 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.6937, allocations: 63.33 kB / 0.6136 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.6941, allocations: 255.3 kB / 0.6138 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.6942, allocations: 41.7 kB / 0.6139 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.6943, allocations: 97.06 kB / 0.6139 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.6944, allocations: 39.5 kB / 0.614 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.6944, allocations: 8 kB / 0.614 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6946, allocations: 326.8 kB / 0.6143 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.6949, allocations: 96.22 kB / 0.6144 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.6953, allocations: 150.2 kB / 0.6145 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.6957, allocations: 152 kB / 0.6147 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-06/0.6957, allocations: 0 / 0.6147 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001017/0.6967, allocations: 413.2 kB / 0.6151 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.045e-05/0.6968, allocations: 71.39 kB / 0.6151 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.656e-06/0.6968, allocations: 0 / 0.6151 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.6969, allocations: 4 kB / 0.6151 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.6971, allocations: 23.97 kB / 0.6152 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6971, allocations: 7.938 kB / 0.6152 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.6976, allocations: 56 kB / 0.6152 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.6977, allocations: 52.69 kB / 0.6153 GB, free: 5.059 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.0001998/0.6979, allocations: 140.8 kB / 0.6154 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.698, allocations: 27.62 kB / 0.6154 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.67e-05/0.6981, allocations: 30.03 kB / 0.6155 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-06/0.6981, allocations: 0 / 0.6155 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.706e-06/0.6982, allocations: 0 / 0.6155 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6982, allocations: 0 / 0.6155 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6992, allocations: 0.5563 MB / 0.616 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-06/0.6993, allocations: 0 / 0.616 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.6993, allocations: 19.92 kB / 0.616 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.017e-06/0.6994, allocations: 0 / 0.616 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.6994, allocations: 11.98 kB / 0.616 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.122e-06/0.6994, allocations: 4 kB / 0.616 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.865e-06/0.6994, allocations: 0 / 0.616 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.7, allocations: 318.9 kB / 0.6164 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.7003, allocations: 156.7 kB / 0.6165 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.7003, allocations: 11.98 kB / 0.6165 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.7006, allocations: 8 kB / 0.6165 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.7007, allocations: 19.97 kB / 0.6165 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.7007, allocations: 27.98 kB / 0.6166 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002672/0.701, allocations: 203.1 kB / 0.6168 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-07/0.701, allocations: 0 / 0.6168 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004799/0.7015, allocations: 59.98 kB / 0.6168 GB, free: 3.387 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.0001966/0.7017, allocations: 123.2 kB / 0.6169 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007533/0.7025, allocations: 342.7 kB / 0.6173 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.373e-06/0.7025, allocations: 0 / 0.6173 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.7027, allocations: 75.91 kB / 0.6173 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.703, allocations: 28.77 kB / 0.6174 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.7037, allocations: 274.5 kB / 0.6176 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.7042, allocations: 0.7516 MB / 0.6184 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000216/0.7045, allocations: 37.2 kB / 0.6184 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.7046, allocations: 31.42 kB / 0.6184 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/0.7046, allocations: 0 / 0.6184 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.01112/0.7158, allocations: 4.316 MB / 0.6226 GB, free: 13.36 MB / 0.5105 GB