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 4/4, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.037e-05, allocations: 4 kB / 0.501 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2213, allocations: 92.69 MB / 0.5915 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.002917/0.2243, allocations: 1.123 MB / 0.5926 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2255, allocations: 247.3 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.2257, allocations: 0 / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2258, allocations: 15.69 kB / 0.5928 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.226, allocations: 27.95 kB / 0.5928 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.2266, allocations: 59.86 kB / 0.5929 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.227, allocations: 116.2 kB / 0.593 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.227, allocations: 4.281 kB / 0.593 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2272, allocations: 75.89 kB / 0.5931 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.2276, allocations: 99.77 kB / 0.5932 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.2277, allocations: 8 kB / 0.5932 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.259e-05/0.2278, allocations: 8 kB / 0.5932 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.228, allocations: 79.81 kB / 0.5933 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.2281, allocations: 12 kB / 0.5933 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.2286, allocations: 207.8 kB / 0.5935 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2286, allocations: 0 / 0.5935 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.998e-06/0.2286, allocations: 0 / 0.5935 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.2287, allocations: 3.938 kB / 0.5935 GB, free: 9.309 MB / 0.4948 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.001938/0.2306, allocations: 0.5891 MB / 0.5941 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/0.2307, allocations: 8.031 kB / 0.5941 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2309, allocations: 39.56 kB / 0.5941 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.2316, allocations: 257.6 kB / 0.5944 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.2317, allocations: 16.28 kB / 0.5944 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.2318, allocations: 19.98 kB / 0.5944 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2333, allocations: 466.6 kB / 0.5948 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.2333, allocations: 3.938 kB / 0.5948 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.2334, allocations: 4 kB / 0.5948 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.2334, allocations: 8 kB / 0.5949 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2346, allocations: 327.8 kB / 0.5952 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.2361, allocations: 0.5585 MB / 0.5957 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.2395, allocations: 1.033 MB / 0.5967 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/0.2396, allocations: 12.02 kB / 0.5967 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/0.2412, allocations: 466.6 kB / 0.5972 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 5.2e-06/0.2412, allocations: 0 / 0.5972 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.004357/0.2456, allocations: 1.106 MB / 0.5983 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.2458, allocations: 140.5 kB / 0.5984 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.2463, allocations: 228 kB / 0.5986 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.2465, allocations: 37.7 kB / 0.5986 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.2466, allocations: 121.1 kB / 0.5988 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.2469, allocations: 87.06 kB / 0.5988 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.247, allocations: 12 kB / 0.5989 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2472, allocations: 342.8 kB / 0.5992 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.2484, allocations: 328.7 kB / 0.5995 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.2496, allocations: 418.5 kB / 0.5999 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.251, allocations: 363.8 kB / 0.6002 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.251, allocations: 7.938 kB / 0.6002 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002872/0.2539, allocations: 0.8248 MB / 0.6011 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.254, allocations: 12.12 kB / 0.6011 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.254, allocations: 0 / 0.6011 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.2541, allocations: 8 kB / 0.6011 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.2544, allocations: 39.84 kB / 0.6011 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.2544, allocations: 12.3 kB / 0.6011 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.2549, allocations: 32.25 kB / 0.6012 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/0.2554, allocations: 267.4 kB / 0.6014 GB, free: 0.8477 MB / 0.4948 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.0003247/0.2557, allocations: 194 kB / 0.6016 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.2558, allocations: 23.72 kB / 0.6016 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2559, allocations: 38.17 kB / 0.6017 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.256, allocations: 7.984 kB / 0.6017 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.256, allocations: 4 kB / 0.6017 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2561, allocations: 112.5 kB / 0.6018 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.2562, allocations: 8 kB / 0.6018 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.2565, allocations: 11.98 kB / 0.6018 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.2567, allocations: 51.89 kB / 0.6018 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4848/0.7415, allocations: 1.118 MB / 0.6029 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001993/0.7436, allocations: 1.241 MB / 0.6041 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009136/0.7445, allocations: 384.2 kB / 0.6045 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002819/0.7448, allocations: 172.6 kB / 0.6047 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of Backend: time 5e-07/0.7448, allocations: 0 / 0.6047 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.7464, allocations: 495.8 kB / 0.6051 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of SimCode: time 0.002543/0.749, allocations: 1.105 MB / 0.6062 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.02113/0.7701, allocations: 6.511 MB / 0.6126 GB, free: 10.86 MB / 0.4948 GB