Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 2.793/2.793, allocations: 321 MB / 328.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.684e-05, allocations: 5.719 kB / 403.9 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1554, allocations: 73.41 MB / 477.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.6101, allocations: 119.6 MB / 0.5829 GB, free: 1.508 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.6105, allocations: 96.19 kB / 0.583 GB, free: 1.453 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1177/0.7282, allocations: 27.56 MB / 0.6099 GB, free: 10.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.816e-05/0.7283, allocations: 15.94 kB / 0.6099 GB, free: 10.62 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002619/0.7309, allocations: 0.8336 MB / 0.6107 GB, free: 9.773 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.731, allocations: 8.031 kB / 0.6107 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.7327, allocations: 147.1 kB / 0.6109 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.734, allocations: 441.9 kB / 0.6113 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.7341, allocations: 16 kB / 0.6113 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.7343, allocations: 28 kB / 0.6113 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/0.7356, allocations: 459.2 kB / 0.6118 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.7372, allocations: 0.5815 MB / 0.6124 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.7373, allocations: 0 / 0.6124 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.7374, allocations: 11.3 kB / 0.6124 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.628e-05/0.7375, allocations: 40.17 kB / 0.6124 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005043/0.7426, allocations: 2.272 MB / 0.6146 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.7439, allocations: 0.5218 MB / 0.6151 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.7444, allocations: 229 kB / 0.6153 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/0.745, allocations: 0.5671 MB / 0.6159 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.7459, allocations: 373.5 kB / 0.6163 GB, free: 4.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 3.196e-06/0.7459, allocations: 0 / 0.6163 GB, free: 4.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.001405/0.7473, allocations: 0.4936 MB / 0.6167 GB, free: 4.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.7474, allocations: 81.55 kB / 0.6168 GB, free: 4.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.7479, allocations: 285.9 kB / 0.6171 GB, free: 4.219 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.748, allocations: 37.62 kB / 0.6171 GB, free: 4.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.7483, allocations: 274.5 kB / 0.6174 GB, free: 3.969 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.7485, allocations: 151.2 kB / 0.6175 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.7486, allocations: 0 / 0.6175 GB, free: 3.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7488, allocations: 357 kB / 0.6179 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.7493, allocations: 209 kB / 0.6181 GB, free: 3.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.7499, allocations: 330 kB / 0.6184 GB, free: 3.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.7505, allocations: 246.4 kB / 0.6186 GB, free: 2.961 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7506, allocations: 0 / 0.6186 GB, free: 2.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001548/0.7521, allocations: 0.5869 MB / 0.6192 GB, free: 2.535 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005647/0.7527, allocations: 1.083 MB / 0.6203 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7527, allocations: 4 kB / 0.6203 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.7528, allocations: 4 kB / 0.6203 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.7539, allocations: 118 kB / 0.6204 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7539, allocations: 7.938 kB / 0.6204 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/0.7549, allocations: 71.52 kB / 0.6204 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.755, allocations: 18.88 kB / 0.6205 GB, free: 1.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.755, allocations: 4 kB / 0.6205 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.7563, allocations: 475.1 kB / 0.6209 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7563, allocations: 0 / 0.6209 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7563, allocations: 12.25 kB / 0.6209 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7574, allocations: 103.7 kB / 0.621 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7574, allocations: 11.94 kB / 0.621 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.7583, allocations: 51.59 kB / 0.6211 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.7583, allocations: 22.81 kB / 0.6211 GB, free: 0.6602 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition2,$PRE.bat_ideal.cha.underCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.overCharged,$whenCondition3,$PRE.bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.overCharged,$whenCondition4,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,$whenCondition1,$PRE.pow.T_start,pow.T_start,$PRE.pow.count,pow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0002753/0.7586, allocations: 134.9 kB / 0.6212 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001283/0.7599, allocations: 488.9 kB / 0.6217 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.76, allocations: 51.42 kB / 0.6218 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.7615, allocations: 0.5232 MB / 0.6223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.7615, allocations: 4 kB / 0.6223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7615, allocations: 0 / 0.6223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.7616, allocations: 3.984 kB / 0.6223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7626, allocations: 0.5358 MB / 0.6228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7627, allocations: 4 kB / 0.6228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/0.7637, allocations: 95.7 kB / 0.6229 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.7637, allocations: 4 kB / 0.6229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.7638, allocations: 7.297 kB / 0.6229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.7638, allocations: 4 kB / 0.6229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7638, allocations: 3.984 kB / 0.6229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.7658, allocations: 0.8452 MB / 0.6237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.7662, allocations: 177.5 kB / 0.6239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.7664, allocations: 7.562 kB / 0.6239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.7671, allocations: 31.94 kB / 0.6239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.7673, allocations: 43.06 kB / 0.624 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.7673, allocations: 19.55 kB / 0.624 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003688/0.7677, allocations: 219.6 kB / 0.6242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7677, allocations: 4 kB / 0.6242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001184/0.7689, allocations: 249.1 kB / 0.6245 GB, free: 13.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC,bat.cha.SOC) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,pow.T_start,pow.count,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of discrete states: 7 (pow.count,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002591/0.7715, allocations: 1.494 MB / 0.6259 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.7737, allocations: 0.8979 MB / 0.6268 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7738, allocations: 0 / 0.6268 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.7744, allocations: 253.5 kB / 0.627 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.7759, allocations: 149.9 kB / 0.6272 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.7793, allocations: 0.9547 MB / 0.6281 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.78, allocations: 0.9035 MB / 0.629 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001155/0.7812, allocations: 160.6 kB / 0.6291 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.7817, allocations: 187.4 kB / 0.6293 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.7817, allocations: 0 / 0.6293 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.911, allocations: 11.91 MB / 0.641 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0109/0.9219, allocations: 163.5 kB / 0.6411 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.054/3.976, allocations: 0 / 0.6411 GB, free: 13.32 MB / 0.5105 GB