Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadModel(Buildings): time 3.907/3.907, allocations: 432.8 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.845e-05, allocations: 3.031 kB / 0.5337 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1722, allocations: 98.73 MB / 0.6301 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.3716, allocations: 125.1 MB / 0.7523 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3719, allocations: 71.95 kB / 0.7523 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1242/0.4962, allocations: 18.83 MB / 0.7707 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.239e-05/0.4962, allocations: 0 / 0.7707 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.4963, allocations: 8 kB / 0.7707 GB, free: 6.078 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.001665/0.498, allocations: 0.5919 MB / 0.7713 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.4981, allocations: 8.031 kB / 0.7713 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.4982, allocations: 35.67 kB / 0.7714 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.4989, allocations: 249.7 kB / 0.7716 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.499, allocations: 12.28 kB / 0.7716 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.4991, allocations: 23.98 kB / 0.7716 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5004, allocations: 458.3 kB / 0.7721 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.5005, allocations: 0 / 0.7721 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.123e-05/0.5006, allocations: 11.97 kB / 0.7721 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5006, allocations: 4 kB / 0.7721 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009844/0.5016, allocations: 319.8 kB / 0.7724 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.5031, allocations: 0.5547 MB / 0.7729 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/0.5061, allocations: 1.018 MB / 0.7739 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.5081, allocations: 0.6555 MB / 0.7746 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.5082, allocations: 8 kB / 0.7746 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.5095, allocations: 478.6 kB / 0.775 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 5.979e-06/0.5096, allocations: 4 kB / 0.775 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.00267/0.5123, allocations: 0.7765 MB / 0.7758 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.5124, allocations: 140.5 kB / 0.7759 GB, free: 484 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.513, allocations: 225 kB / 0.7761 GB, free: 248 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.5131, allocations: 33.7 kB / 0.7762 GB, free: 208 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.5132, allocations: 132.8 kB / 0.7763 GB, free: 72 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.4991/1.012, allocations: 71.31 kB / 0.7764 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/1.013, allocations: 8 kB / 0.7764 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.013, allocations: 344.2 kB / 0.7767 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.014, allocations: 325.6 kB / 0.777 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.015, allocations: 419.4 kB / 0.7774 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.016, allocations: 353.5 kB / 0.7777 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-06/1.016, allocations: 1.031 kB / 0.7777 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003313/1.019, allocations: 0.8188 MB / 0.7785 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/1.019, allocations: 9.844 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/1.02, allocations: 2.906 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.077e-05/1.02, allocations: 5.344 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/1.02, allocations: 40.33 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/1.02, allocations: 9.828 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/1.021, allocations: 19.31 kB / 0.7786 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008388/1.022, allocations: 214 kB / 0.7788 GB, free: 144.2 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.0002906/1.022, allocations: 157.5 kB / 0.779 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.022, allocations: 27.03 kB / 0.779 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/1.022, allocations: 36.14 kB / 0.779 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.022, allocations: 5.234 kB / 0.779 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.022, allocations: 5.938 kB / 0.7791 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.022, allocations: 3.484 kB / 0.7791 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/1.026, allocations: 1.692 MB / 0.7807 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.85e-06/1.026, allocations: 6.984 kB / 0.7807 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/1.026, allocations: 24.98 kB / 0.7807 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.664e-06/1.026, allocations: 2.219 kB / 0.7807 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/1.026, allocations: 21.73 kB / 0.7808 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.617e-06/1.026, allocations: 2.75 kB / 0.7808 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-06/1.026, allocations: 4.422 kB / 0.7808 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/1.028, allocations: 1.143 MB / 0.7819 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/1.028, allocations: 100.5 kB / 0.782 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/1.028, allocations: 10.7 kB / 0.782 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/1.028, allocations: 13.48 kB / 0.782 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.028, allocations: 50.08 kB / 0.7821 GB, free: 143 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/1.029, allocations: 223.6 kB / 0.7823 GB, free: 143 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001954/1.029, allocations: 169.3 kB / 0.7824 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.4e-07/1.029, allocations: 0 / 0.7824 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006832/1.03, allocations: 63.88 kB / 0.7825 GB, free: 142.9 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.0001816/1.03, allocations: 140.7 kB / 0.7826 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00129/1.031, allocations: 0.7305 MB / 0.7833 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/1.031, allocations: 0 / 0.7833 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006936/1.032, allocations: 399.9 kB / 0.7837 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1.034, allocations: 307.8 kB / 0.784 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.035, allocations: 0.8635 MB / 0.7849 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.035, allocations: 0.7629 MB / 0.7856 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003928/1.036, allocations: 100.1 kB / 0.7857 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.036, allocations: 72.95 kB / 0.7858 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.649e-06/1.036, allocations: 0 / 0.7858 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.01781/1.054, allocations: 7.84 MB / 0.7934 GB, free: 140.8 MB / 0.6511 GB