Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadModel(BuildingSystems): time 3.124/3.124, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.717e-05, allocations: 8 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 77.72 MB / 0.5022 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5075/0.6473, allocations: 106.1 MB / 0.6059 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6476, allocations: 71.95 kB / 0.606 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.6624, allocations: 3.291 MB / 0.6092 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.39e-06/0.6624, allocations: 0 / 0.6092 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.6624, allocations: 0 / 0.6092 GB, free: 11.59 MB / 0.4948 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.001046/0.6635, allocations: 0.5288 MB / 0.6097 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6635, allocations: 11.97 kB / 0.6097 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.6637, allocations: 27.91 kB / 0.6097 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.6644, allocations: 278.6 kB / 0.61 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.6644, allocations: 19.98 kB / 0.61 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.6645, allocations: 24 kB / 0.61 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.6651, allocations: 246.4 kB / 0.6103 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.98e-06/0.6651, allocations: 3.938 kB / 0.6103 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.6652, allocations: 7.984 kB / 0.6103 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.631e-06/0.6652, allocations: 4 kB / 0.6103 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.6655, allocations: 91.89 kB / 0.6104 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.666, allocations: 380 kB / 0.6107 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.6665, allocations: 222.6 kB / 0.611 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.6668, allocations: 119.5 kB / 0.6111 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.6668, allocations: 8 kB / 0.6111 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.6674, allocations: 264.2 kB / 0.6113 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 3.044e-06/0.6674, allocations: 0 / 0.6113 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.0009719/0.6684, allocations: 405.2 kB / 0.6117 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6685, allocations: 144.5 kB / 0.6119 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.6687, allocations: 140.1 kB / 0.612 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-05/0.6688, allocations: 41.7 kB / 0.612 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6689, allocations: 108.5 kB / 0.6121 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.669, allocations: 63.25 kB / 0.6122 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.669, allocations: 12 kB / 0.6122 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6692, allocations: 330.9 kB / 0.6125 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.6697, allocations: 175.9 kB / 0.6127 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.6701, allocations: 210.4 kB / 0.6129 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.6706, allocations: 226.6 kB / 0.6131 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-06/0.6706, allocations: 4 kB / 0.6131 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001543/0.6722, allocations: 0.7147 MB / 0.6138 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.6723, allocations: 79.39 kB / 0.6139 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.411e-06/0.6723, allocations: 3.984 kB / 0.6139 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6723, allocations: 4 kB / 0.6139 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.6725, allocations: 11.94 kB / 0.6139 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.6725, allocations: 4 kB / 0.6139 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.673, allocations: 91.8 kB / 0.614 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.6731, allocations: 20 kB / 0.614 GB, free: 6.285 MB / 0.4948 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.000193/0.6733, allocations: 136 kB / 0.6141 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.6734, allocations: 27.75 kB / 0.6142 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.6735, allocations: 20.62 kB / 0.6142 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-06/0.6735, allocations: 4 kB / 0.6142 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-06/0.6735, allocations: 0 / 0.6142 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.6735, allocations: 0 / 0.6142 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.6739, allocations: 273.3 kB / 0.6145 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-06/0.6739, allocations: 0 / 0.6145 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.674, allocations: 12 kB / 0.6145 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.101e-06/0.674, allocations: 0 / 0.6145 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.6741, allocations: 23.86 kB / 0.6145 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.471e-06/0.6741, allocations: 7.984 kB / 0.6145 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6741, allocations: 0 / 0.6145 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.675, allocations: 482.6 kB / 0.615 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.6751, allocations: 93 kB / 0.615 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.6752, allocations: 16 kB / 0.6151 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.6754, allocations: 23.97 kB / 0.6151 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.6755, allocations: 19.97 kB / 0.6151 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.6756, allocations: 23.97 kB / 0.6151 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001184/0.6757, allocations: 113.8 kB / 0.6152 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.87e-07/0.6757, allocations: 0 / 0.6152 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004708/0.6762, allocations: 95.86 kB / 0.6153 GB, free: 4.82 MB / 0.4948 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.0002531/0.6764, allocations: 154.7 kB / 0.6155 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.6776, allocations: 0.6632 MB / 0.6161 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.547e-06/0.6777, allocations: 0 / 0.6161 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.678, allocations: 159.8 kB / 0.6163 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.6782, allocations: 16.64 kB / 0.6163 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.679, allocations: 289.9 kB / 0.6166 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.6794, allocations: 0.7285 MB / 0.6173 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.161e-05/0.6795, allocations: 9.219 kB / 0.6173 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.6795, allocations: 15.42 kB / 0.6173 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of SimCode: time 1.445e-06/0.6795, allocations: 0 / 0.6173 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of Templates: time 0.008934/0.6885, allocations: 3.178 MB / 0.6204 GB, free: 15.55 MB / 0.5105 GB