Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadModel(Buildings): time 3.905/3.905, allocations: 432.8 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.66e-05, allocations: 6.719 kB / 0.5337 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 98.73 MB / 0.6302 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.3709, allocations: 126.6 MB / 0.7538 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3712, allocations: 79.94 kB / 0.7539 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02126/0.3925, allocations: 4.903 MB / 0.7587 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.328e-06/0.3925, allocations: 0 / 0.7587 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.3925, allocations: 4 kB / 0.7587 GB, free: 2.387 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00109/0.3936, allocations: 0.5675 MB / 0.7592 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3937, allocations: 12.03 kB / 0.7592 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3939, allocations: 27.77 kB / 0.7593 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3941, allocations: 201.8 kB / 0.7595 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.3942, allocations: 15.98 kB / 0.7595 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.3943, allocations: 20 kB / 0.7595 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.3947, allocations: 156.1 kB / 0.7596 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3947, allocations: 3.953 kB / 0.7596 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3947, allocations: 3.984 kB / 0.7596 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-06/0.3948, allocations: 4 kB / 0.7596 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.395, allocations: 59.92 kB / 0.7597 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.3964, allocations: 0.5629 MB / 0.7603 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.3967, allocations: 118.7 kB / 0.7604 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3969, allocations: 68.78 kB / 0.7604 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.397, allocations: 7.984 kB / 0.7604 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005082/0.3975, allocations: 205.8 kB / 0.7606 GB, free: 188 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.277e-06/0.3975, allocations: 0 / 0.7606 GB, free: 188 kB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006718/0.3982, allocations: 221.2 kB / 0.7609 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3983, allocations: 71.28 kB / 0.7609 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.3986, allocations: 217 kB / 0.7611 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.3987, allocations: 37.7 kB / 0.7612 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3988, allocations: 108.8 kB / 0.7613 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.3989, allocations: 39.52 kB / 0.7613 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.399, allocations: 8 kB / 0.7613 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3991, allocations: 322.8 kB / 0.7616 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3995, allocations: 112.3 kB / 0.7617 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.3999, allocations: 166.2 kB / 0.7619 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.4003, allocations: 162.3 kB / 0.762 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.293e-06/0.4003, allocations: 4 kB / 0.762 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001096/0.4014, allocations: 429.4 kB / 0.7625 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4016, allocations: 79.39 kB / 0.7625 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4016, allocations: 0 / 0.7625 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4016, allocations: 4 kB / 0.7625 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4019, allocations: 31.91 kB / 0.7626 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4019, allocations: 4 kB / 0.7626 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.4024, allocations: 39.88 kB / 0.7626 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4025, allocations: 47.98 kB / 0.7626 GB, free: 14.02 MB / 0.6511 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.000205/0.4027, allocations: 132 kB / 0.7628 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.4028, allocations: 23.8 kB / 0.7628 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.4029, allocations: 21.97 kB / 0.7628 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.591e-06/0.4029, allocations: 0 / 0.7628 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.283e-06/0.4029, allocations: 0 / 0.7628 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-06/0.4029, allocations: 3.984 kB / 0.7628 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.404, allocations: 0.5859 MB / 0.7634 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-06/0.404, allocations: 4 kB / 0.7634 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.68e-05/0.4041, allocations: 4 kB / 0.7634 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-06/0.4041, allocations: 0 / 0.7634 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.4042, allocations: 19.97 kB / 0.7634 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4042, allocations: 0 / 0.7634 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.321e-06/0.4042, allocations: 0 / 0.7634 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.4048, allocations: 311.1 kB / 0.7637 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.4051, allocations: 168.7 kB / 0.7639 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.4052, allocations: 15.98 kB / 0.7639 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.4054, allocations: 11.98 kB / 0.7639 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.4055, allocations: 11.98 kB / 0.7639 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.4056, allocations: 23.98 kB / 0.7639 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000261/0.4058, allocations: 185.3 kB / 0.7641 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.073e-06/0.4059, allocations: 0 / 0.7641 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005378/0.4064, allocations: 56.23 kB / 0.7642 GB, free: 12.37 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: 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.0002302/0.4066, allocations: 132.9 kB / 0.7643 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008/0.4075, allocations: 360.7 kB / 0.7646 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4075, allocations: 4 kB / 0.7646 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.4077, allocations: 71.92 kB / 0.7647 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.4081, allocations: 28.34 kB / 0.7647 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000687/0.4088, allocations: 246.7 kB / 0.765 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.4093, allocations: 0.7439 MB / 0.7657 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00019/0.4095, allocations: 33.2 kB / 0.7657 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4096, allocations: 27.42 kB / 0.7658 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.72e-06/0.4096, allocations: 8 kB / 0.7658 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.01163/0.4213, allocations: 4.378 MB / 0.77 GB, free: 6.281 MB / 0.6511 GB