Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 431.3 MB / 445.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.697e-05, allocations: 7.984 kB / 0.5354 GB, free: 14.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.6267, allocations: 98.71 MB / 0.6318 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.001979/0.6288, allocations: 1.116 MB / 0.6329 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.6296, allocations: 251.3 kB / 0.6331 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.6297, allocations: 4 kB / 0.6331 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.608e-05/0.6298, allocations: 7.875 kB / 0.6332 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.286e-05/0.6299, allocations: 19.95 kB / 0.6332 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.6302, allocations: 63.86 kB / 0.6332 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000243/0.6305, allocations: 116.2 kB / 0.6333 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.6306, allocations: 0 / 0.6333 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.6307, allocations: 79.89 kB / 0.6334 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.6309, allocations: 99.72 kB / 0.6335 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.631, allocations: 12 kB / 0.6335 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.631, allocations: 8 kB / 0.6335 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.6312, allocations: 75.8 kB / 0.6336 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.6313, allocations: 16 kB / 0.6336 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.6316, allocations: 199.6 kB / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6316, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6316, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.6316, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 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.001381/0.633, allocations: 0.603 MB / 0.6344 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.6331, allocations: 12.03 kB / 0.6344 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.6332, allocations: 31.62 kB / 0.6344 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.6337, allocations: 257.6 kB / 0.6347 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.6337, allocations: 16.28 kB / 0.6347 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.6338, allocations: 16 kB / 0.6347 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.6347, allocations: 466.5 kB / 0.6352 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6348, allocations: 0 / 0.6352 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.6348, allocations: 4 kB / 0.6352 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6348, allocations: 4 kB / 0.6352 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.6355, allocations: 323.8 kB / 0.6355 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.6365, allocations: 0.5663 MB / 0.636 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.6386, allocations: 1.03 MB / 0.637 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.6387, allocations: 8.688 kB / 0.6371 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.6397, allocations: 482.1 kB / 0.6375 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.925e-06/0.6397, allocations: 0 / 0.6375 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.002469/0.6422, allocations: 1.118 MB / 0.6386 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6423, allocations: 136.5 kB / 0.6387 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.6427, allocations: 232 kB / 0.639 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.6427, allocations: 33.7 kB / 0.639 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.6428, allocations: 125.1 kB / 0.6391 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.643, allocations: 79.14 kB / 0.6392 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.643, allocations: 8 kB / 0.6392 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6432, allocations: 342.8 kB / 0.6395 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.6439, allocations: 332.7 kB / 0.6398 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000743/0.6446, allocations: 422.4 kB / 0.6402 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.6454, allocations: 363.8 kB / 0.6406 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6454, allocations: 0 / 0.6406 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001816/0.6473, allocations: 0.8288 MB / 0.6414 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.6474, allocations: 10.5 kB / 0.6414 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6474, allocations: 0 / 0.6414 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.6474, allocations: 8 kB / 0.6414 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.6477, allocations: 43.83 kB / 0.6415 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.035e-05/0.6478, allocations: 11.94 kB / 0.6415 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.6483, allocations: 23.75 kB / 0.6415 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000515/0.6488, allocations: 275.7 kB / 0.6417 GB, free: 1.453 MB / 0.5105 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.0003754/0.6492, allocations: 195.1 kB / 0.6419 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.6493, allocations: 35.66 kB / 0.642 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.6494, allocations: 38.17 kB / 0.642 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.6495, allocations: 4 kB / 0.642 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6495, allocations: 0 / 0.642 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6495, allocations: 4 kB / 0.642 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.6529, allocations: 1.71 MB / 0.6437 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.653, allocations: 0 / 0.6437 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.6531, allocations: 23.91 kB / 0.6437 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.6531, allocations: 4 kB / 0.6437 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.6531, allocations: 23.91 kB / 0.6437 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.6532, allocations: 4 kB / 0.6437 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6532, allocations: 0 / 0.6437 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.6551, allocations: 1.15 MB / 0.6449 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6552, allocations: 100.8 kB / 0.645 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6553, allocations: 19.94 kB / 0.645 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.6558, allocations: 8 kB / 0.645 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.656, allocations: 51.94 kB / 0.645 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005213/0.6565, allocations: 283.5 kB / 0.6453 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002677/0.6568, allocations: 172.5 kB / 0.6455 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/0.6568, allocations: 0 / 0.6455 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006679/0.6575, allocations: 60 kB / 0.6455 GB, free: 13.46 MB / 0.5261 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.0002461/0.6577, allocations: 144.2 kB / 0.6457 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001623/0.6594, allocations: 0.7259 MB / 0.6464 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6594, allocations: 8.062 kB / 0.6464 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.6604, allocations: 407.5 kB / 0.6468 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.663, allocations: 362.3 kB / 0.6471 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.6653, allocations: 1.01 MB / 0.6481 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.6659, allocations: 0.7647 MB / 0.6488 GB, free: 10 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005617/0.6664, allocations: 102.9 kB / 0.6489 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.6667, allocations: 67.38 kB / 0.649 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/0.6667, allocations: 3.938 kB / 0.649 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of Templates: time 0.02256/0.6893, allocations: 8.352 MB / 0.6572 GB, free: 1.586 MB / 0.5261 GB