Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.211/4.211, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.054e-05, allocations: 8 kB / 0.5731 GB, free: 5.758 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 107.2 MB / 0.6778 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8917/1.086, allocations: 131.7 MB / 0.8064 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/1.086, allocations: 67.05 kB / 0.8064 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08256/1.169, allocations: 22.25 MB / 0.8282 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.943e-06/1.169, allocations: 0 / 0.8282 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.169, allocations: 3.625 kB / 0.8282 GB, free: 8.609 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.0008268/1.17, allocations: 0.6043 MB / 0.8288 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.17, allocations: 7.75 kB / 0.8288 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/1.17, allocations: 31.19 kB / 0.8288 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/1.17, allocations: 251.6 kB / 0.829 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/1.17, allocations: 23.52 kB / 0.8291 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/1.17, allocations: 15.25 kB / 0.8291 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/1.171, allocations: 450.5 kB / 0.8295 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.171, allocations: 0 / 0.8295 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/1.171, allocations: 3.875 kB / 0.8295 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-06/1.171, allocations: 3.938 kB / 0.8295 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/1.172, allocations: 320 kB / 0.8298 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/1.172, allocations: 0.558 MB / 0.8304 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/1.174, allocations: 1.019 MB / 0.8314 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008383/1.174, allocations: 0.6489 MB / 0.832 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/1.174, allocations: 11.83 kB / 0.832 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/1.175, allocations: 486.8 kB / 0.8325 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.533e-06/1.175, allocations: 0 / 0.8325 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001218/1.176, allocations: 0.7781 MB / 0.8332 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.176, allocations: 143.4 kB / 0.8334 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/1.177, allocations: 229.4 kB / 0.8336 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/1.177, allocations: 32.45 kB / 0.8336 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/1.177, allocations: 122.9 kB / 0.8337 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/1.177, allocations: 79.48 kB / 0.8338 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/1.177, allocations: 3.812 kB / 0.8338 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/1.177, allocations: 344.5 kB / 0.8341 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/1.178, allocations: 330.9 kB / 0.8345 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/1.178, allocations: 415.9 kB / 0.8349 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/1.179, allocations: 366.8 kB / 0.8352 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.179, allocations: 3.875 kB / 0.8352 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00124/1.18, allocations: 0.8 MB / 0.836 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.18, allocations: 7.875 kB / 0.836 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.45e-06/1.18, allocations: 11.91 kB / 0.836 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.18, allocations: 11.95 kB / 0.836 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/1.18, allocations: 38.75 kB / 0.8361 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.18, allocations: 3.969 kB / 0.8361 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/1.18, allocations: 22.31 kB / 0.8361 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/1.181, allocations: 222.2 kB / 0.8363 GB, free: 5.207 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.0001426/1.181, allocations: 156.3 kB / 0.8364 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/1.181, allocations: 27.09 kB / 0.8365 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/1.181, allocations: 41.33 kB / 0.8365 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-06/1.181, allocations: 7.656 kB / 0.8365 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.961e-06/1.181, allocations: 0 / 0.8365 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-06/1.181, allocations: 0 / 0.8365 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/1.183, allocations: 1.693 MB / 0.8382 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-06/1.183, allocations: 0 / 0.8382 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/1.183, allocations: 22.47 kB / 0.8382 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.183, allocations: 3.844 kB / 0.8382 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/1.184, allocations: 26.12 kB / 0.8382 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.684e-06/1.184, allocations: 4.031 kB / 0.8382 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.184, allocations: 0 / 0.8382 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.185, allocations: 1.144 MB / 0.8393 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/1.185, allocations: 107.6 kB / 0.8394 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/1.185, allocations: 15.14 kB / 0.8395 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/1.185, allocations: 7.734 kB / 0.8395 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.185, allocations: 54.06 kB / 0.8395 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.186, allocations: 226.4 kB / 0.8397 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000172/1.186, allocations: 164.5 kB / 0.8399 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.92e-07/1.186, allocations: 0 / 0.8399 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006634/1.186, allocations: 66.12 kB / 0.84 GB, free: 3.371 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.0003061/1.187, allocations: 136.6 kB / 0.8401 GB, free: 19.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001049/1.188, allocations: 0.7289 MB / 0.8408 GB, free: 19.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.843e-06/1.188, allocations: 0 / 0.8408 GB, free: 19.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006284/1.189, allocations: 401.8 kB / 0.8412 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/1.19, allocations: 364.1 kB / 0.8415 GB, free: 18.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/1.192, allocations: 0.8677 MB / 0.8424 GB, free: 18.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/1.192, allocations: 0.7645 MB / 0.8431 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003678/1.193, allocations: 98.92 kB / 0.8432 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.193, allocations: 66.31 kB / 0.8433 GB, free: 17.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.905e-06/1.193, allocations: 0 / 0.8433 GB, free: 17.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.01819/1.211, allocations: 8.024 MB / 0.8511 GB, free: 9.746 MB / 0.6511 GB