Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.022/4.022, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.119e-05, allocations: 7.203 kB / 0.5337 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 98.72 MB / 0.6301 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.3656, allocations: 124.4 MB / 0.7516 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3659, allocations: 71.95 kB / 0.7517 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09183/0.4578, allocations: 22.24 MB / 0.7734 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.246e-06/0.4578, allocations: 0 / 0.7734 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.4578, allocations: 4 kB / 0.7734 GB, free: 3.285 MB / 0.6511 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.001084/0.4589, allocations: 0.6113 MB / 0.774 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.459, allocations: 8.031 kB / 0.774 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.4591, allocations: 31.67 kB / 0.7741 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.4595, allocations: 245.7 kB / 0.7743 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.4595, allocations: 16.22 kB / 0.7743 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.4596, allocations: 23.98 kB / 0.7743 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.4604, allocations: 458.3 kB / 0.7748 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4604, allocations: 4 kB / 0.7748 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.4605, allocations: 7.984 kB / 0.7748 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4605, allocations: 7.984 kB / 0.7748 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.461, allocations: 307.8 kB / 0.7751 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.4619, allocations: 0.5625 MB / 0.7756 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4742/0.9361, allocations: 1.007 MB / 0.7766 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.9372, allocations: 0.653 MB / 0.7772 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.9373, allocations: 5.203 kB / 0.7773 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007414/0.938, allocations: 472.6 kB / 0.7777 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/0.938, allocations: 3.688 kB / 0.7777 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001721/0.9398, allocations: 0.7818 MB / 0.7785 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.9398, allocations: 142.7 kB / 0.7786 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.9402, allocations: 226.2 kB / 0.7788 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.9403, allocations: 34.88 kB / 0.7789 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.9403, allocations: 127 kB / 0.779 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.9405, allocations: 77.09 kB / 0.7791 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.9405, allocations: 4.812 kB / 0.7791 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.9406, allocations: 342.5 kB / 0.7794 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.9412, allocations: 329.5 kB / 0.7797 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.9418, allocations: 414.4 kB / 0.7801 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.9425, allocations: 359.3 kB / 0.7804 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.499e-06/0.9425, allocations: 6.234 kB / 0.7804 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001536/0.944, allocations: 0.8102 MB / 0.7812 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.9441, allocations: 5.969 kB / 0.7812 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9441, allocations: 10.58 kB / 0.7812 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.9441, allocations: 6.984 kB / 0.7813 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.9444, allocations: 48.12 kB / 0.7813 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.9444, allocations: 5.219 kB / 0.7813 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.9447, allocations: 22.92 kB / 0.7813 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003724/0.9451, allocations: 214.1 kB / 0.7815 GB, free: 143.7 MB / 0.6511 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.0001712/0.9453, allocations: 151.3 kB / 0.7817 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.9454, allocations: 25.81 kB / 0.7817 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.9455, allocations: 35.66 kB / 0.7817 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.9455, allocations: 13.05 kB / 0.7817 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9455, allocations: 1.703 kB / 0.7817 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.9455, allocations: 2.688 kB / 0.7817 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.9482, allocations: 1.698 MB / 0.7834 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-06/0.9482, allocations: 2.188 kB / 0.7834 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.9483, allocations: 22.05 kB / 0.7834 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1e-05/0.9483, allocations: 4.219 kB / 0.7834 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.9484, allocations: 22.08 kB / 0.7835 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.806e-06/0.9484, allocations: 2.125 kB / 0.7835 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.795e-06/0.9484, allocations: 1.719 kB / 0.7835 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.9498, allocations: 1.148 MB / 0.7846 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.9499, allocations: 98.92 kB / 0.7847 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.95, allocations: 16.84 kB / 0.7847 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.9504, allocations: 6.906 kB / 0.7847 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.9505, allocations: 56.19 kB / 0.7848 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/0.9509, allocations: 217.2 kB / 0.785 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002068/0.9511, allocations: 174.1 kB / 0.7851 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.7e-07/0.9511, allocations: 0 / 0.7851 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006911/0.9518, allocations: 59.83 kB / 0.7852 GB, free: 142.4 MB / 0.6511 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.0001974/0.952, allocations: 144.8 kB / 0.7853 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001299/0.9534, allocations: 0.7194 MB / 0.786 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9534, allocations: 1 kB / 0.786 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.9541, allocations: 409 kB / 0.7864 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.9559, allocations: 368.5 kB / 0.7868 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.9584, allocations: 0.8608 MB / 0.7876 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.9589, allocations: 0.7626 MB / 0.7883 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008668/0.9598, allocations: 97.92 kB / 0.7884 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.9601, allocations: 66 kB / 0.7885 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of SimCode: time 4.957e-06/0.9602, allocations: 1.344 kB / 0.7885 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.02223/0.9824, allocations: 8.034 MB / 0.7964 GB, free: 139.9 MB / 0.6511 GB