Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.172/4.172, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.747e-05, allocations: 4 kB / 0.5681 GB, free: 10.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2059, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7497/0.9557, allocations: 131.3 MB / 0.8001 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.9559, allocations: 68.48 kB / 0.8001 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08361/1.04, allocations: 22.23 MB / 0.8219 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.903e-06/1.04, allocations: 3.844 kB / 0.8219 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.9e-05/1.04, allocations: 7.938 kB / 0.8219 GB, free: 10.32 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008272/1.04, allocations: 0.6028 MB / 0.8225 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.041, allocations: 11.47 kB / 0.8225 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.282e-05/1.041, allocations: 31.19 kB / 0.8225 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/1.041, allocations: 251.1 kB / 0.8227 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.041, allocations: 14.72 kB / 0.8228 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/1.041, allocations: 15.25 kB / 0.8228 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/1.042, allocations: 460.5 kB / 0.8232 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.042, allocations: 0 / 0.8232 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.042, allocations: 6.906 kB / 0.8232 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-06/1.042, allocations: 3.844 kB / 0.8232 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/1.042, allocations: 331.2 kB / 0.8235 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/1.043, allocations: 0.5531 MB / 0.8241 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/1.044, allocations: 1.012 MB / 0.8251 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/1.045, allocations: 0.6599 MB / 0.8257 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/1.045, allocations: 3.906 kB / 0.8257 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/1.046, allocations: 478.9 kB / 0.8262 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.588e-06/1.046, allocations: 0 / 0.8262 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001277/1.047, allocations: 0.7863 MB / 0.8269 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.047, allocations: 144.1 kB / 0.8271 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/1.047, allocations: 219.7 kB / 0.8273 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/1.047, allocations: 36.08 kB / 0.8273 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/1.047, allocations: 127.6 kB / 0.8274 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.229e-05/1.048, allocations: 75.84 kB / 0.8275 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/1.048, allocations: 6.875 kB / 0.8275 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/1.048, allocations: 348.5 kB / 0.8278 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.048, allocations: 324.3 kB / 0.8282 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/1.049, allocations: 414 kB / 0.8286 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/1.049, allocations: 368.5 kB / 0.8289 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-06/1.049, allocations: 0 / 0.8289 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001284/1.051, allocations: 0.8123 MB / 0.8297 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.051, allocations: 11.62 kB / 0.8297 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.703e-06/1.051, allocations: 0 / 0.8297 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.051, allocations: 7.625 kB / 0.8297 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/1.051, allocations: 40.25 kB / 0.8298 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.051, allocations: 7.875 kB / 0.8298 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/1.051, allocations: 26.52 kB / 0.8298 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/1.051, allocations: 211.2 kB / 0.83 GB, free: 6.906 MB / 0.6355 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.000155/1.052, allocations: 156.6 kB / 0.8301 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/1.052, allocations: 27.09 kB / 0.8302 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/1.052, allocations: 35.7 kB / 0.8302 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.009e-06/1.052, allocations: 3.844 kB / 0.8302 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.831e-06/1.052, allocations: 3.844 kB / 0.8302 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.428e-06/1.052, allocations: 0 / 0.8302 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/1.054, allocations: 1.698 MB / 0.8319 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.652e-06/1.054, allocations: 0 / 0.8319 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/1.054, allocations: 26.25 kB / 0.8319 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-06/1.054, allocations: 3.844 kB / 0.8319 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.054, allocations: 20.81 kB / 0.8319 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.2e-06/1.054, allocations: 11.78 kB / 0.8319 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.328e-06/1.054, allocations: 3.953 kB / 0.8319 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/1.055, allocations: 1.141 MB / 0.833 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/1.056, allocations: 100.5 kB / 0.8331 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/1.056, allocations: 14.23 kB / 0.8331 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/1.056, allocations: 7.906 kB / 0.8332 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.056, allocations: 53.78 kB / 0.8332 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/1.056, allocations: 226.2 kB / 0.8334 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001838/1.057, allocations: 170.7 kB / 0.8336 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.36e-07/1.057, allocations: 4 kB / 0.8336 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006675/1.057, allocations: 63.69 kB / 0.8337 GB, free: 5.07 MB / 0.6355 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.000345/1.058, allocations: 134.1 kB / 0.8338 GB, free: 20.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.059, allocations: 0.7213 MB / 0.8345 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.059, allocations: 0 / 0.8345 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/1.059, allocations: 413.2 kB / 0.8349 GB, free: 20.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.061, allocations: 365.3 kB / 0.8352 GB, free: 20.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/1.063, allocations: 0.8629 MB / 0.8361 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/1.063, allocations: 0.77 MB / 0.8368 GB, free: 19.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004024/1.064, allocations: 101 kB / 0.8369 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/1.064, allocations: 67.53 kB / 0.837 GB, free: 19.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.66e-06/1.064, allocations: 0 / 0.837 GB, free: 19.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01653/1.08, allocations: 8.017 MB / 0.8448 GB, free: 15.63 MB / 0.6511 GB