Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 3.62/3.62, allocations: 403.9 MB / 411 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.078e-05, allocations: 4 kB / 0.4942 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4797, allocations: 92.69 MB / 0.5847 GB, free: 2.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2138/0.6935, allocations: 120.4 MB / 0.7023 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6938, allocations: 91.92 kB / 0.7024 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08713/0.781, allocations: 22.14 MB / 0.724 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.812e-06/0.781, allocations: 0 / 0.724 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.7811, allocations: 4 kB / 0.724 GB, free: 3.508 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001012/0.7821, allocations: 0.6075 MB / 0.7246 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7821, allocations: 8.031 kB / 0.7246 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.7822, allocations: 27.62 kB / 0.7246 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.7826, allocations: 245.8 kB / 0.7249 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.7827, allocations: 8 kB / 0.7249 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.7827, allocations: 19.98 kB / 0.7249 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005034/0.7832, allocations: 304.3 kB / 0.7252 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/0.7839, allocations: 442.5 kB / 0.7256 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.784, allocations: 4 kB / 0.7256 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.784, allocations: 3.953 kB / 0.7256 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-06/0.784, allocations: 7.984 kB / 0.7256 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.7848, allocations: 0.5085 MB / 0.7261 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.7862, allocations: 1.006 MB / 0.7271 GB, free: 128 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/0.7872, allocations: 0.6487 MB / 0.7277 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.7873, allocations: 4 kB / 0.7277 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/0.788, allocations: 473.9 kB / 0.7282 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.11e-06/0.788, allocations: 0 / 0.7282 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001394/0.7894, allocations: 0.7625 MB / 0.7289 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.7895, allocations: 132.5 kB / 0.7291 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.7898, allocations: 220.3 kB / 0.7293 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.7899, allocations: 37.64 kB / 0.7293 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.79, allocations: 120.9 kB / 0.7294 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.7901, allocations: 71.08 kB / 0.7295 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.7902, allocations: 0 / 0.7295 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7903, allocations: 346.8 kB / 0.7298 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.7909, allocations: 320.7 kB / 0.7301 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.7914, allocations: 409.6 kB / 0.7305 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.792, allocations: 344.6 kB / 0.7308 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-06/0.7921, allocations: 0 / 0.7308 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001352/0.7934, allocations: 0.7953 MB / 0.7316 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7935, allocations: 7.938 kB / 0.7316 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7935, allocations: 4 kB / 0.7316 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7935, allocations: 4 kB / 0.7316 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.7937, allocations: 43.89 kB / 0.7317 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.997e-06/0.7937, allocations: 4 kB / 0.7317 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.794, allocations: 15.94 kB / 0.7317 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003395/0.7944, allocations: 207.8 kB / 0.7319 GB, free: 11.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0001842/0.7946, allocations: 146 kB / 0.732 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.7947, allocations: 31.62 kB / 0.7321 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.7948, allocations: 33.95 kB / 0.7321 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.241e-06/0.7948, allocations: 4 kB / 0.7321 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.057e-06/0.7948, allocations: 0 / 0.7321 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.122e-06/0.7948, allocations: 3.984 kB / 0.7321 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.7973, allocations: 1.644 MB / 0.7337 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.109e-06/0.7973, allocations: 3.984 kB / 0.7337 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.7974, allocations: 23.91 kB / 0.7337 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.126e-06/0.7974, allocations: 4 kB / 0.7337 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.7975, allocations: 23.97 kB / 0.7338 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.14e-06/0.7975, allocations: 4 kB / 0.7338 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-06/0.7975, allocations: 0 / 0.7338 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.7989, allocations: 1.126 MB / 0.7349 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.799, allocations: 100.8 kB / 0.735 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.7991, allocations: 7.984 kB / 0.735 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.7994, allocations: 4.125 kB / 0.735 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7996, allocations: 51.84 kB / 0.735 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/0.7999, allocations: 223.5 kB / 0.7352 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001975/0.8002, allocations: 168.4 kB / 0.7354 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.5e-07/0.8002, allocations: 0 / 0.7354 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006986/0.8009, allocations: 52 kB / 0.7355 GB, free: 7.328 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002089/0.8011, allocations: 131.5 kB / 0.7356 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.8023, allocations: 0.7102 MB / 0.7363 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.056e-06/0.8023, allocations: 4.25 kB / 0.7363 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.8029, allocations: 403.6 kB / 0.7367 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.8046, allocations: 366.2 kB / 0.737 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.8062, allocations: 0.8444 MB / 0.7378 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.8067, allocations: 0.7608 MB / 0.7386 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003979/0.8071, allocations: 99.22 kB / 0.7387 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.8073, allocations: 63.39 kB / 0.7387 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of SimCode: time 1.374e-06/0.8073, allocations: 0 / 0.7387 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of Templates: time 0.01768/0.825, allocations: 7.702 MB / 0.7463 GB, free: 12.32 MB / 0.6355 GB