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.628/3.628, allocations: 402 MB / 415.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.769e-05, allocations: 7.938 kB / 0.5004 GB, free: 8.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 92.68 MB / 0.5909 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6364/0.8024, allocations: 121.1 MB / 0.7091 GB, free: 5.293 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.8027, allocations: 87.94 kB / 0.7092 GB, free: 5.207 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.1013/0.9041, allocations: 22.42 MB / 0.7311 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.369e-06/0.9041, allocations: 0 / 0.7311 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.9042, allocations: 7.938 kB / 0.7311 GB, free: 14.76 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.001711/0.9059, allocations: 0.6099 MB / 0.7317 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.906, allocations: 12.03 kB / 0.7317 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.9062, allocations: 31.58 kB / 0.7318 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.9068, allocations: 249.8 kB / 0.732 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.9069, allocations: 12.28 kB / 0.732 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.907, allocations: 16 kB / 0.732 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.9085, allocations: 462.6 kB / 0.7325 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.9085, allocations: 0 / 0.7325 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.9086, allocations: 4 kB / 0.7325 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.9086, allocations: 4 kB / 0.7325 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.9097, allocations: 331.7 kB / 0.7328 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.9111, allocations: 0.5431 MB / 0.7333 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.9145, allocations: 1.041 MB / 0.7343 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.9146, allocations: 8.031 kB / 0.7344 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.916, allocations: 478.4 kB / 0.7348 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 5.962e-06/0.9161, allocations: 0 / 0.7348 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.003701/0.9198, allocations: 1.099 MB / 0.7359 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.92, allocations: 148.5 kB / 0.736 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.9204, allocations: 224 kB / 0.7362 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.9204, allocations: 37.7 kB / 0.7363 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.9206, allocations: 129.1 kB / 0.7364 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9207, allocations: 75.05 kB / 0.7365 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.9207, allocations: 12 kB / 0.7365 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.9209, allocations: 346.8 kB / 0.7368 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.9215, allocations: 328.7 kB / 0.7371 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.9222, allocations: 418.5 kB / 0.7375 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.9229, allocations: 364.3 kB / 0.7379 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.302e-06/0.9229, allocations: 0 / 0.7379 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001601/0.9245, allocations: 0.8297 MB / 0.7387 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.9246, allocations: 4 kB / 0.7387 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9246, allocations: 4 kB / 0.7387 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9246, allocations: 12.12 kB / 0.7387 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.9248, allocations: 47.84 kB / 0.7387 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.9249, allocations: 4 kB / 0.7387 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.9252, allocations: 23.86 kB / 0.7388 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003665/0.9256, allocations: 207.6 kB / 0.739 GB, free: 6.375 MB / 0.6042 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.0003125/0.9259, allocations: 189.7 kB / 0.7391 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.926, allocations: 27.62 kB / 0.7392 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.9261, allocations: 38.17 kB / 0.7392 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.9261, allocations: 4 kB / 0.7392 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.336e-06/0.9261, allocations: 11.94 kB / 0.7392 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-06/0.9261, allocations: 0 / 0.7392 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.9291, allocations: 1.701 MB / 0.7409 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.9291, allocations: 8 kB / 0.7409 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.9292, allocations: 23.91 kB / 0.7409 GB, free: 4.309 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.9292, allocations: 4 kB / 0.7409 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.9293, allocations: 19.97 kB / 0.7409 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.9293, allocations: 4 kB / 0.7409 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.9293, allocations: 3.953 kB / 0.7409 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.9309, allocations: 1.146 MB / 0.7421 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.931, allocations: 100.7 kB / 0.7422 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.9311, allocations: 11.98 kB / 0.7422 GB, free: 2.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.9315, allocations: 16 kB / 0.7422 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9316, allocations: 51.92 kB / 0.7422 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/0.932, allocations: 219.7 kB / 0.7424 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002342/0.9323, allocations: 176.4 kB / 0.7426 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.94e-07/0.9323, allocations: 0 / 0.7426 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006749/0.933, allocations: 68 kB / 0.7427 GB, free: 2.441 MB / 0.6042 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.0002242/0.9332, allocations: 140.8 kB / 0.7428 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.9345, allocations: 0.7415 MB / 0.7435 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.069e-06/0.9346, allocations: 0 / 0.7435 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007305/0.9353, allocations: 407.8 kB / 0.7439 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.9371, allocations: 372.1 kB / 0.7443 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.939, allocations: 1.017 MB / 0.7453 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.9395, allocations: 0.7647 MB / 0.746 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004443/0.9399, allocations: 94.91 kB / 0.7461 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.9401, allocations: 67.38 kB / 0.7462 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.785e-06/0.9401, allocations: 0 / 0.7462 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.01901/0.9592, allocations: 8.043 MB / 0.754 GB, free: 6.871 MB / 0.6198 GB