Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadModel(Buildings): time 4.364/4.364, allocations: 464.7 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.424e-05, allocations: 4 kB / 0.5731 GB, free: 5.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 107.2 MB / 0.6777 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7236/0.9197, allocations: 132.3 MB / 0.8069 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.92, allocations: 75.31 kB / 0.807 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008157/0.9282, allocations: 2.374 MB / 0.8093 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.501e-06/0.9283, allocations: 0 / 0.8093 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.9283, allocations: 7.906 kB / 0.8093 GB, free: 12.11 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000408/0.9287, allocations: 429.7 kB / 0.8098 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.9288, allocations: 11.66 kB / 0.8098 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.9289, allocations: 15.17 kB / 0.8098 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.929, allocations: 170.9 kB / 0.8099 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.929, allocations: 6 kB / 0.8099 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.929, allocations: 3.844 kB / 0.81 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.9293, allocations: 183.6 kB / 0.8101 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.9293, allocations: 0 / 0.8101 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.9294, allocations: 3.281 kB / 0.8101 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-06/0.9294, allocations: 0 / 0.8101 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.9295, allocations: 71.88 kB / 0.8102 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.9297, allocations: 238.6 kB / 0.8104 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.9299, allocations: 139.7 kB / 0.8106 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.93, allocations: 114.8 kB / 0.8107 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.93, allocations: 2.812 kB / 0.8107 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.9303, allocations: 201.7 kB / 0.8109 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.993e-06/0.9303, allocations: 4 kB / 0.8109 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0007122/0.9311, allocations: 447.3 kB / 0.8113 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.9311, allocations: 92.17 kB / 0.8114 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.9312, allocations: 117.6 kB / 0.8115 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.9313, allocations: 54.88 kB / 0.8115 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.9313, allocations: 84.48 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.9314, allocations: 95.17 kB / 0.8117 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/0.9315, allocations: 10.03 kB / 0.8117 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.9315, allocations: 341.3 kB / 0.8121 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.9318, allocations: 162.9 kB / 0.8122 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.9321, allocations: 236.2 kB / 0.8124 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.9324, allocations: 208.4 kB / 0.8126 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.66e-06/0.9325, allocations: 4 kB / 0.8126 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007418/0.9332, allocations: 483.8 kB / 0.8131 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9332, allocations: 7.812 kB / 0.8131 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.897e-06/0.9333, allocations: 3.938 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.9333, allocations: 3.844 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.9334, allocations: 22.19 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9335, allocations: 3.875 kB / 0.8131 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.9336, allocations: 33.33 kB / 0.8132 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.9336, allocations: 15.53 kB / 0.8132 GB, free: 10.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0001755/0.9338, allocations: 177.7 kB / 0.8134 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.9339, allocations: 7.859 kB / 0.8134 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.9339, allocations: 9.25 kB / 0.8134 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9339, allocations: 0 / 0.8134 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-06/0.9339, allocations: 4.938 kB / 0.8134 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.9339, allocations: 3.281 kB / 0.8134 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.9341, allocations: 208.8 kB / 0.8136 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-06/0.9341, allocations: 0 / 0.8136 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-06/0.9341, allocations: 3.875 kB / 0.8136 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.843e-06/0.9341, allocations: 7.953 kB / 0.8136 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.9342, allocations: 4.203 kB / 0.8136 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-06/0.9342, allocations: 7.781 kB / 0.8136 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-06/0.9342, allocations: 0 / 0.8136 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.9349, allocations: 480.1 kB / 0.8141 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.9349, allocations: 89.03 kB / 0.8141 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.935, allocations: 41.81 kB / 0.8142 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.9351, allocations: 10.89 kB / 0.8142 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.9352, allocations: 11.89 kB / 0.8142 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.9352, allocations: 17.5 kB / 0.8142 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.9353, allocations: 75.28 kB / 0.8143 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-07/0.9353, allocations: 3.844 kB / 0.8143 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004227/0.9357, allocations: 55.47 kB / 0.8143 GB, free: 9.688 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000467/0.9362, allocations: 230.6 kB / 0.8146 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.9367, allocations: 345.1 kB / 0.8149 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.9367, allocations: 3.938 kB / 0.8149 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.9369, allocations: 129.2 kB / 0.815 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.9371, allocations: 3.875 kB / 0.815 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.9375, allocations: 249.3 kB / 0.8153 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.9377, allocations: 0.7177 MB / 0.816 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.371e-05/0.9377, allocations: 18.23 kB / 0.816 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.9378, allocations: 15.19 kB / 0.816 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.471e-06/0.9378, allocations: 0 / 0.816 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.005745/0.9436, allocations: 1.981 MB / 0.8179 GB, free: 8.566 MB / 0.6355 GB