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 3.655/3.655, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.196e-05, allocations: 6.344 kB / 0.4991 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4809, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.6643, allocations: 121.1 MB / 0.7078 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6647, allocations: 83.94 kB / 0.7079 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09264/0.7573, allocations: 22.26 MB / 0.7297 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.129e-06/0.7574, allocations: 3.938 kB / 0.7297 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.7574, allocations: 8 kB / 0.7297 GB, free: 14.84 MB / 0.6198 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.001057/0.7585, allocations: 0.6075 MB / 0.7303 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7585, allocations: 8.031 kB / 0.7303 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.7586, allocations: 35.58 kB / 0.7303 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.759, allocations: 237.8 kB / 0.7305 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.7591, allocations: 16.28 kB / 0.7305 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.7592, allocations: 23.98 kB / 0.7306 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/0.7599, allocations: 454.5 kB / 0.731 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.76, allocations: 0 / 0.731 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.76, allocations: 7.984 kB / 0.731 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.76, allocations: 7.953 kB / 0.731 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.7606, allocations: 319.8 kB / 0.7313 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.7614, allocations: 0.547 MB / 0.7319 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.7631, allocations: 1.01 MB / 0.7328 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.7642, allocations: 0.656 MB / 0.7335 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.7642, allocations: 7.984 kB / 0.7335 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007938/0.765, allocations: 482.1 kB / 0.734 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.219e-06/0.765, allocations: 0 / 0.734 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.00149/0.7665, allocations: 0.7875 MB / 0.7347 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/0.7667, allocations: 136.5 kB / 0.7349 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.767, allocations: 228.9 kB / 0.7351 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.7671, allocations: 37.7 kB / 0.7351 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.7672, allocations: 120.9 kB / 0.7352 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.7673, allocations: 83.05 kB / 0.7353 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.7673, allocations: 8 kB / 0.7353 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7675, allocations: 342.8 kB / 0.7356 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.7681, allocations: 324.7 kB / 0.7359 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.7687, allocations: 417.6 kB / 0.7363 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.7694, allocations: 355.9 kB / 0.7367 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-06/0.7694, allocations: 4 kB / 0.7367 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001494/0.7709, allocations: 0.8173 MB / 0.7375 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.771, allocations: 8 kB / 0.7375 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.771, allocations: 7.984 kB / 0.7375 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.771, allocations: 4 kB / 0.7375 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7712, allocations: 43.83 kB / 0.7375 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.7713, allocations: 8 kB / 0.7376 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.7716, allocations: 19.89 kB / 0.7376 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.772, allocations: 223.7 kB / 0.7378 GB, free: 6.168 MB / 0.6198 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.0002012/0.7722, allocations: 144.9 kB / 0.7379 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.7723, allocations: 31.61 kB / 0.738 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.7724, allocations: 33.97 kB / 0.738 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.7724, allocations: 4 kB / 0.738 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.566e-06/0.7724, allocations: 4 kB / 0.738 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.7724, allocations: 3.984 kB / 0.738 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.7752, allocations: 1.688 MB / 0.7396 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.878e-06/0.7752, allocations: 4 kB / 0.7396 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.7753, allocations: 19.92 kB / 0.7397 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.7753, allocations: 7.984 kB / 0.7397 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.7754, allocations: 16.11 kB / 0.7397 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.7754, allocations: 15.95 kB / 0.7397 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7754, allocations: 0 / 0.7397 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.7769, allocations: 1.15 MB / 0.7408 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.7771, allocations: 100.7 kB / 0.7409 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.7771, allocations: 11.98 kB / 0.7409 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.7775, allocations: 15.98 kB / 0.741 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7776, allocations: 47.94 kB / 0.741 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003655/0.778, allocations: 215.5 kB / 0.7412 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002362/0.7782, allocations: 169.4 kB / 0.7414 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.984e-06/0.7783, allocations: 4 kB / 0.7414 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006855/0.779, allocations: 71.92 kB / 0.7414 GB, free: 2.301 MB / 0.6198 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.0002203/0.7792, allocations: 134.1 kB / 0.7416 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.7805, allocations: 0.7298 MB / 0.7423 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.159e-06/0.7805, allocations: 0 / 0.7423 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.7812, allocations: 404.2 kB / 0.7427 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.7829, allocations: 369.2 kB / 0.743 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.7846, allocations: 0.8549 MB / 0.7439 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.7852, allocations: 0.7686 MB / 0.7446 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000399/0.7856, allocations: 98.91 kB / 0.7447 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.7857, allocations: 67.38 kB / 0.7448 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of SimCode: time 1.857e-06/0.7858, allocations: 0 / 0.7448 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.01845/0.8042, allocations: 8.036 MB / 0.7526 GB, free: 6.922 MB / 0.6355 GB