Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.68/4.68, allocations: 458.9 MB / 473.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.152e-05, allocations: 3.906 kB / 0.5697 GB, free: 9.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2801, allocations: 106.2 MB / 0.6734 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002109/0.2823, allocations: 1.131 MB / 0.6745 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.2831, allocations: 259.5 kB / 0.6748 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.2832, allocations: 0 / 0.6748 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2833, allocations: 11.86 kB / 0.6748 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.2834, allocations: 19.97 kB / 0.6748 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2838, allocations: 63.84 kB / 0.6749 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.2841, allocations: 116.2 kB / 0.675 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.2841, allocations: 11.98 kB / 0.675 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2842, allocations: 67.91 kB / 0.6751 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2845, allocations: 107.8 kB / 0.6752 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.2845, allocations: 8 kB / 0.6752 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.2846, allocations: 8 kB / 0.6752 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2847, allocations: 71.81 kB / 0.6752 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.2848, allocations: 12 kB / 0.6752 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.2851, allocations: 187.9 kB / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2851, allocations: 0 / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2852, allocations: 0 / 0.6754 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.2852, allocations: 0 / 0.6754 GB, free: 0.5586 MB / 0.5417 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.001503/0.2867, allocations: 0.593 MB / 0.676 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.2868, allocations: 15.97 kB / 0.676 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2869, allocations: 27.62 kB / 0.676 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.2874, allocations: 257.6 kB / 0.6763 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.2874, allocations: 16.28 kB / 0.6763 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.339e-05/0.2875, allocations: 16 kB / 0.6763 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/0.2885, allocations: 462.6 kB / 0.6768 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2885, allocations: 0 / 0.6768 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.2885, allocations: 8 kB / 0.6768 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2886, allocations: 4 kB / 0.6768 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.2892, allocations: 323.8 kB / 0.6771 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2903, allocations: 0.5624 MB / 0.6776 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.2923, allocations: 1.029 MB / 0.6786 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.2924, allocations: 4.5 kB / 0.6786 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009741/0.2934, allocations: 482.5 kB / 0.6791 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.936e-06/0.2934, allocations: 0 / 0.6791 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.00253/0.296, allocations: 1.112 MB / 0.6802 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.2961, allocations: 136.5 kB / 0.6803 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.2965, allocations: 232 kB / 0.6805 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.2966, allocations: 41.7 kB / 0.6806 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2967, allocations: 121.1 kB / 0.6807 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2969, allocations: 83.08 kB / 0.6808 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.2969, allocations: 4 kB / 0.6808 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2971, allocations: 350.8 kB / 0.6811 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.2978, allocations: 328.7 kB / 0.6814 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/0.2986, allocations: 418.4 kB / 0.6818 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.2994, allocations: 367.8 kB / 0.6822 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2994, allocations: 0 / 0.6822 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001847/0.3013, allocations: 0.821 MB / 0.683 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3014, allocations: 8 kB / 0.683 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.3014, allocations: 4 kB / 0.683 GB, free: 8.453 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.3014, allocations: 7.984 kB / 0.683 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.3017, allocations: 43.84 kB / 0.683 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.3017, allocations: 4.312 kB / 0.683 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.3022, allocations: 31.69 kB / 0.6831 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005307/0.3028, allocations: 272 kB / 0.6833 GB, free: 8.102 MB / 0.5573 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.0003472/0.3031, allocations: 201 kB / 0.6835 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.3032, allocations: 27.66 kB / 0.6836 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.3034, allocations: 38.17 kB / 0.6836 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3034, allocations: 4 kB / 0.6836 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3034, allocations: 4 kB / 0.6836 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3034, allocations: 0 / 0.6836 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.3067, allocations: 1.716 MB / 0.6853 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3068, allocations: 3.938 kB / 0.6853 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.3069, allocations: 27.91 kB / 0.6853 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.3069, allocations: 0 / 0.6853 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.3069, allocations: 23.97 kB / 0.6853 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.307, allocations: 7.938 kB / 0.6853 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.307, allocations: 0 / 0.6853 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3088, allocations: 1.153 MB / 0.6865 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.309, allocations: 104.8 kB / 0.6866 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.3091, allocations: 15.94 kB / 0.6866 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.3095, allocations: 8 kB / 0.6866 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3097, allocations: 51.94 kB / 0.6866 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005499/0.3102, allocations: 279.5 kB / 0.6869 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002605/0.3105, allocations: 172.5 kB / 0.6871 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3105, allocations: 0 / 0.6871 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006506/0.3112, allocations: 64 kB / 0.6871 GB, free: 4.102 MB / 0.5573 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.0002409/0.3114, allocations: 143.1 kB / 0.6873 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.3131, allocations: 0.7301 MB / 0.688 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3131, allocations: 0 / 0.688 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.314, allocations: 407.7 kB / 0.6884 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.3166, allocations: 310.7 kB / 0.6887 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.319, allocations: 1.013 MB / 0.6896 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3195, allocations: 0.7608 MB / 0.6904 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005551/0.3201, allocations: 111.4 kB / 0.6905 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.3203, allocations: 71.38 kB / 0.6906 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/0.3203, allocations: 0 / 0.6906 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of Templates: time 0.02196/0.3423, allocations: 8.14 MB / 0.6985 GB, free: 8.461 MB / 0.573 GB