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.87/2.87, allocations: 321 MB / 328.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.109e-05, allocations: 0 / 403.9 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.159, allocations: 73.4 MB / 477.3 MB, free: 6.883 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.6205, allocations: 121.1 MB / 0.5843 GB, free: 156 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/0.6209, allocations: 94.81 kB / 0.5844 GB, free: 104 kB / 458.7 MB Notification: Performance of FrontEnd: time 0.1208/0.7418, allocations: 29.46 MB / 0.6132 GB, free: 7.645 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.487e-05/0.7419, allocations: 15.94 kB / 0.6132 GB, free: 7.629 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.002308/0.7442, allocations: 0.8304 MB / 0.614 GB, free: 6.785 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7442, allocations: 8.031 kB / 0.614 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.7456, allocations: 147.1 kB / 0.6142 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.7465, allocations: 437.9 kB / 0.6146 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.7466, allocations: 16 kB / 0.6146 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7467, allocations: 32 kB / 0.6146 GB, free: 6.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001129/0.7479, allocations: 451.6 kB / 0.6151 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.7492, allocations: 0.5922 MB / 0.6156 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.7493, allocations: 0 / 0.6156 GB, free: 5.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.7494, allocations: 7.969 kB / 0.6156 GB, free: 5.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.7495, allocations: 44.42 kB / 0.6157 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.7541, allocations: 2.258 MB / 0.6179 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.7554, allocations: 0.5295 MB / 0.6184 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.7559, allocations: 233 kB / 0.6186 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.7565, allocations: 0.5661 MB / 0.6192 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.7573, allocations: 373.9 kB / 0.6195 GB, free: 1.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.7573, allocations: 0 / 0.6195 GB, free: 1.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.001322/0.7587, allocations: 497.2 kB / 0.62 GB, free: 1.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.7588, allocations: 88.3 kB / 0.6201 GB, free: 1.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.7592, allocations: 277.3 kB / 0.6204 GB, free: 1.246 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.7593, allocations: 34.64 kB / 0.6204 GB, free: 1.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7596, allocations: 275.3 kB / 0.6207 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.7598, allocations: 151.3 kB / 0.6208 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.7599, allocations: 4.031 kB / 0.6208 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.7601, allocations: 360.6 kB / 0.6211 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.7606, allocations: 209.2 kB / 0.6213 GB, free: 412 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.7612, allocations: 331.4 kB / 0.6217 GB, free: 140 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.7618, allocations: 239.3 kB / 0.6219 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.7618, allocations: 8 kB / 0.6219 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001427/0.7633, allocations: 0.5891 MB / 0.6225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005813/0.7639, allocations: 1.082 MB / 0.6235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7639, allocations: 4 kB / 0.6235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.7639, allocations: 8 kB / 0.6235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.765, allocations: 115.6 kB / 0.6237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.765, allocations: 8 kB / 0.6237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/0.7659, allocations: 59.58 kB / 0.6237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/0.766, allocations: 19.69 kB / 0.6237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.766, allocations: 6.5 kB / 0.6237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.7672, allocations: 473 kB / 0.6242 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7672, allocations: 4 kB / 0.6242 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7672, allocations: 11.98 kB / 0.6242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/0.768, allocations: 102.7 kB / 0.6243 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.7681, allocations: 7.938 kB / 0.6243 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.7688, allocations: 55.89 kB / 0.6244 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.7689, allocations: 19.94 kB / 0.6244 GB, free: 13.68 MB / 0.4948 GB 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.0002223/0.7691, allocations: 130.8 kB / 0.6245 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001159/0.7703, allocations: 497.5 kB / 0.625 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.7704, allocations: 51.38 kB / 0.625 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.7717, allocations: 0.5287 MB / 0.6255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.7718, allocations: 8 kB / 0.6256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7718, allocations: 0 / 0.6256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7718, allocations: 3.984 kB / 0.6256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.7727, allocations: 0.5403 MB / 0.6261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7728, allocations: 0 / 0.6261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.7737, allocations: 95.67 kB / 0.6262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.7738, allocations: 4 kB / 0.6262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.7738, allocations: 3.984 kB / 0.6262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.7738, allocations: 8 kB / 0.6262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7738, allocations: 3.938 kB / 0.6262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.7758, allocations: 0.8342 MB / 0.627 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.7761, allocations: 181.9 kB / 0.6272 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.7763, allocations: 0 / 0.6272 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.7769, allocations: 39.33 kB / 0.6272 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.7771, allocations: 46.42 kB / 0.6273 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.7772, allocations: 19.36 kB / 0.6273 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003104/0.7775, allocations: 214.7 kB / 0.6275 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7775, allocations: 4 kB / 0.6275 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001073/0.7786, allocations: 250.5 kB / 0.6277 GB, free: 10.95 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.002566/0.7812, allocations: 1.487 MB / 0.6292 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.7832, allocations: 0.901 MB / 0.6301 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7832, allocations: 4.312 kB / 0.6301 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.7838, allocations: 253.5 kB / 0.6303 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7851, allocations: 141.2 kB / 0.6304 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.7882, allocations: 0.9481 MB / 0.6314 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/0.7891, allocations: 0.9113 MB / 0.6323 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001054/0.7902, allocations: 160.4 kB / 0.6324 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.7907, allocations: 183.4 kB / 0.6326 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.7907, allocations: 0 / 0.6326 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.8598, allocations: 11.92 MB / 0.6442 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004384/0.8642, allocations: 169.2 kB / 0.6444 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.244/4.108, allocations: 0 / 0.6444 GB, free: 10.01 MB / 0.5105 GB