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.337/4.337, allocations: 460.4 MB / 472.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.482e-05, allocations: 4 kB / 0.5681 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2242, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/0.9207, allocations: 132 MB / 0.8007 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.921, allocations: 68.7 kB / 0.8008 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07165/0.9927, allocations: 18.82 MB / 0.8192 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9927, allocations: 0 / 0.8192 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.9927, allocations: 11.62 kB / 0.8192 GB, free: 11.26 MB / 0.6355 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.0008494/0.9936, allocations: 0.5921 MB / 0.8198 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.9937, allocations: 11.69 kB / 0.8198 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.9938, allocations: 27.14 kB / 0.8198 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.9941, allocations: 251.8 kB / 0.82 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.9941, allocations: 14.19 kB / 0.8201 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.9942, allocations: 18.12 kB / 0.8201 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.9948, allocations: 456.3 kB / 0.8205 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.9948, allocations: 0 / 0.8205 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.9949, allocations: 7.625 kB / 0.8205 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.9949, allocations: 3.875 kB / 0.8205 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.9953, allocations: 327.7 kB / 0.8208 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.996, allocations: 0.5524 MB / 0.8214 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.9973, allocations: 1.012 MB / 0.8224 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/0.9982, allocations: 0.6502 MB / 0.823 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.9982, allocations: 11.45 kB / 0.823 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/0.9989, allocations: 484.6 kB / 0.8235 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.402e-06/0.9989, allocations: 3.938 kB / 0.8235 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001267/1, allocations: 0.7749 MB / 0.8242 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1, allocations: 151.6 kB / 0.8244 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/1.001, allocations: 223.5 kB / 0.8246 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/1.001, allocations: 37.42 kB / 0.8246 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/1.001, allocations: 124.1 kB / 0.8247 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/1.001, allocations: 79.2 kB / 0.8248 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/1.001, allocations: 6.312 kB / 0.8248 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/1.001, allocations: 345 kB / 0.8251 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/1.001, allocations: 327.8 kB / 0.8255 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/1.002, allocations: 412.7 kB / 0.8259 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/1.002, allocations: 359.6 kB / 0.8262 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.094e-06/1.002, allocations: 3.844 kB / 0.8262 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001274/1.004, allocations: 0.8131 MB / 0.827 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.004, allocations: 7.625 kB / 0.827 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.369e-06/1.004, allocations: 3.969 kB / 0.827 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.004, allocations: 7.75 kB / 0.827 GB, free: 8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.004, allocations: 38.84 kB / 0.827 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.004, allocations: 7.812 kB / 0.8271 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/1.004, allocations: 34.3 kB / 0.8271 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/1.005, allocations: 211.5 kB / 0.8273 GB, free: 7.863 MB / 0.6355 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.0001539/1.005, allocations: 152.5 kB / 0.8274 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/1.005, allocations: 23.06 kB / 0.8275 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/1.005, allocations: 39.11 kB / 0.8275 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-06/1.005, allocations: 7.656 kB / 0.8275 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.005, allocations: 3.844 kB / 0.8275 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.005, allocations: 0 / 0.8275 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/1.007, allocations: 1.704 MB / 0.8292 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.007, allocations: 4.125 kB / 0.8292 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/1.007, allocations: 18.88 kB / 0.8292 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.359e-06/1.007, allocations: 7.812 kB / 0.8292 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/1.008, allocations: 22.47 kB / 0.8292 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/1.008, allocations: 3.875 kB / 0.8292 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.708e-06/1.008, allocations: 3.953 kB / 0.8292 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/1.009, allocations: 1.145 MB / 0.8303 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/1.009, allocations: 96.58 kB / 0.8304 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/1.009, allocations: 14.52 kB / 0.8305 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/1.009, allocations: 11.03 kB / 0.8305 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.009, allocations: 52.78 kB / 0.8305 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003469/1.01, allocations: 226.5 kB / 0.8307 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002926/1.01, allocations: 170.3 kB / 0.8309 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.068e-06/1.01, allocations: 0 / 0.8309 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001222/1.011, allocations: 63.31 kB / 0.831 GB, free: 6.027 MB / 0.6355 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.0003928/1.012, allocations: 139.4 kB / 0.8311 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.013, allocations: 0.7229 MB / 0.8318 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.433e-06/1.013, allocations: 0 / 0.8318 GB, free: 21.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/1.014, allocations: 406.9 kB / 0.8322 GB, free: 21.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/1.015, allocations: 316.1 kB / 0.8325 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.017, allocations: 0.8638 MB / 0.8333 GB, free: 21.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/1.017, allocations: 0.7623 MB / 0.8341 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004046/1.018, allocations: 100.2 kB / 0.8342 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/1.018, allocations: 68.55 kB / 0.8342 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.858e-06/1.018, allocations: 0 / 0.8342 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.01613/1.034, allocations: 7.833 MB / 0.8419 GB, free: 16.66 MB / 0.6511 GB