Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadModel(Buildings): time 4.151/4.151, allocations: 464.7 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.455e-05/4.463e-05, allocations: 8 kB / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2218, allocations: 107.2 MB / 0.6778 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7456/0.9675, allocations: 132.4 MB / 0.807 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.9678, allocations: 70.64 kB / 0.8071 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.9817, allocations: 3.276 MB / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.223e-06/0.9817, allocations: 0 / 0.8103 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.9817, allocations: 7.75 kB / 0.8103 GB, free: 12.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008303/0.9826, allocations: 0.5259 MB / 0.8108 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9826, allocations: 11.56 kB / 0.8108 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.9828, allocations: 30.17 kB / 0.8108 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.9833, allocations: 275.3 kB / 0.8111 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.9834, allocations: 18.41 kB / 0.8111 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.9835, allocations: 26.09 kB / 0.8112 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.9839, allocations: 245.3 kB / 0.8114 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.984, allocations: 0 / 0.8114 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.984, allocations: 7.797 kB / 0.8114 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-06/0.984, allocations: 10.78 kB / 0.8114 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.9842, allocations: 88.34 kB / 0.8115 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.9847, allocations: 384.9 kB / 0.8119 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.985, allocations: 219.4 kB / 0.8121 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.9853, allocations: 125.7 kB / 0.8122 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.9853, allocations: 7.875 kB / 0.8122 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/0.9858, allocations: 253.8 kB / 0.8124 GB, free: 11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 4.451e-06/0.9858, allocations: 7.938 kB / 0.8124 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0008809/0.9867, allocations: 415.4 kB / 0.8128 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.9867, allocations: 138 kB / 0.813 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.9869, allocations: 138.5 kB / 0.8131 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.9869, allocations: 41.05 kB / 0.8131 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.987, allocations: 106.4 kB / 0.8132 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.9871, allocations: 61.75 kB / 0.8133 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.9872, allocations: 11.28 kB / 0.8133 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.9872, allocations: 332.7 kB / 0.8136 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.9876, allocations: 175.5 kB / 0.8138 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.988, allocations: 217.9 kB / 0.814 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.9883, allocations: 221.2 kB / 0.8142 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-06/0.9884, allocations: 4 kB / 0.8142 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001356/0.9897, allocations: 0.7198 MB / 0.8149 GB, free: 10 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/0.9898, allocations: 81.55 kB / 0.815 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.234e-06/0.9899, allocations: 0 / 0.815 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.9899, allocations: 3.953 kB / 0.815 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.9901, allocations: 18.5 kB / 0.815 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9901, allocations: 3.969 kB / 0.815 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.9907, allocations: 82.31 kB / 0.8151 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.9908, allocations: 21.56 kB / 0.8151 GB, free: 9.922 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001903/0.991, allocations: 135.6 kB / 0.8153 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.667e-05/0.991, allocations: 18.58 kB / 0.8153 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.9911, allocations: 26.22 kB / 0.8153 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.776e-06/0.9911, allocations: 7.875 kB / 0.8153 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.107e-06/0.9911, allocations: 7.859 kB / 0.8153 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-06/0.9912, allocations: 0 / 0.8153 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.9914, allocations: 262.4 kB / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-06/0.9914, allocations: 0 / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.9915, allocations: 14.55 kB / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.9916, allocations: 0 / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.9916, allocations: 16.73 kB / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.626e-06/0.9916, allocations: 0 / 0.8156 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.107e-06/0.9916, allocations: 3.938 kB / 0.8156 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.9924, allocations: 485.1 kB / 0.8161 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.9925, allocations: 92.75 kB / 0.8161 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.9926, allocations: 20.8 kB / 0.8162 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.9928, allocations: 26.75 kB / 0.8162 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.9929, allocations: 22.48 kB / 0.8162 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.993, allocations: 21.62 kB / 0.8162 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.9931, allocations: 113.4 kB / 0.8163 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.45e-07/0.9931, allocations: 0 / 0.8163 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00051/0.9936, allocations: 83.09 kB / 0.8164 GB, free: 9.234 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: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002084/0.9938, allocations: 155.7 kB / 0.8166 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.9948, allocations: 0.6628 MB / 0.8172 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.952e-06/0.9948, allocations: 0 / 0.8172 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.9951, allocations: 153.7 kB / 0.8174 GB, free: 9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.9953, allocations: 19.16 kB / 0.8174 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.996, allocations: 298.5 kB / 0.8177 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.9965, allocations: 0.722 MB / 0.8184 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.892e-05/0.9966, allocations: 14.84 kB / 0.8184 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.9967, allocations: 15.25 kB / 0.8184 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.661e-06/0.9967, allocations: 3.938 kB / 0.8184 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.007979/1.005, allocations: 3.18 MB / 0.8215 GB, free: 23.83 MB / 0.6511 GB