[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). 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.925/2.925, allocations: 320.9 MB / 327.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3534/3.278, allocations: 75.72 MB / 403.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/3.447, allocations: 73.41 MB / 477 MB, free: 7.008 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/3.95, allocations: 119.5 MB / 0.5826 GB, free: 2.102 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005182/3.951, allocations: 95.31 kB / 0.5827 GB, free: 2.051 MB / 458.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.1275/4.078, allocations: 28.03 MB / 0.61 GB, free: 10.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/4.079, allocations: 8 kB / 0.6101 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/4.081, allocations: 151 kB / 0.6102 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/4.083, allocations: 441.9 kB / 0.6106 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/4.083, allocations: 16 kB / 0.6106 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/4.083, allocations: 28 kB / 0.6107 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/4.084, allocations: 469.3 kB / 0.6111 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/4.086, allocations: 0.5983 MB / 0.6117 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/4.086, allocations: 4 kB / 0.6117 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/4.086, allocations: 0 / 0.6117 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/4.086, allocations: 47.91 kB / 0.6117 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/4.092, allocations: 2.254 MB / 0.6139 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/4.093, allocations: 0.5214 MB / 0.6145 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/4.094, allocations: 238.6 kB / 0.6147 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/4.095, allocations: 0.5668 MB / 0.6152 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/4.095, allocations: 350.4 kB / 0.6156 GB, free: 5.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 3.226e-06/4.095, allocations: 0 / 0.6156 GB, free: 5.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.001695/4.097, allocations: 0.5003 MB / 0.6161 GB, free: 5.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/4.097, allocations: 89.47 kB / 0.6161 GB, free: 5.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/4.098, allocations: 281.7 kB / 0.6164 GB, free: 5.152 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/4.098, allocations: 39.61 kB / 0.6165 GB, free: 5.113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/4.098, allocations: 231 kB / 0.6167 GB, free: 4.902 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/4.098, allocations: 143.4 kB / 0.6168 GB, free: 4.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/4.098, allocations: 4 kB / 0.6168 GB, free: 4.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/4.099, allocations: 353.2 kB / 0.6171 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/4.099, allocations: 213.8 kB / 0.6174 GB, free: 4.316 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/4.1, allocations: 338.9 kB / 0.6177 GB, free: 4.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/4.101, allocations: 244.6 kB / 0.6179 GB, free: 3.883 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/4.101, allocations: 4 kB / 0.6179 GB, free: 3.879 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001861/4.102, allocations: 0.5909 MB / 0.6185 GB, free: 3.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/4.103, allocations: 1.061 MB / 0.6195 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/4.103, allocations: 7.938 kB / 0.6195 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/4.103, allocations: 4 kB / 0.6195 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/4.104, allocations: 103.5 kB / 0.6196 GB, free: 2.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/4.104, allocations: 11.94 kB / 0.6196 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/4.105, allocations: 59.58 kB / 0.6197 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/4.105, allocations: 23.55 kB / 0.6197 GB, free: 2.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/4.105, allocations: 4 kB / 0.6197 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001342/4.107, allocations: 474.7 kB / 0.6202 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/4.107, allocations: 4 kB / 0.6202 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/4.107, allocations: 8 kB / 0.6202 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/4.108, allocations: 103.2 kB / 0.6203 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/4.108, allocations: 7.938 kB / 0.6203 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009098/4.109, allocations: 55.2 kB / 0.6204 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/4.109, allocations: 19.25 kB / 0.6204 GB, free: 1.613 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.0002675/4.109, allocations: 134 kB / 0.6205 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/4.109, allocations: 51.38 kB / 0.6205 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/4.111, allocations: 0.5467 MB / 0.6211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/4.111, allocations: 4 kB / 0.6211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/4.111, allocations: 0 / 0.6211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/4.111, allocations: 3.984 kB / 0.6211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/4.112, allocations: 0.5469 MB / 0.6216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/4.112, allocations: 0 / 0.6216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/4.113, allocations: 86.94 kB / 0.6217 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/4.113, allocations: 4 kB / 0.6217 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/4.113, allocations: 11.98 kB / 0.6217 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/4.113, allocations: 0 / 0.6217 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/4.113, allocations: 3.938 kB / 0.6217 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002467/4.116, allocations: 0.8624 MB / 0.6226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003065/4.119, allocations: 1.553 MB / 0.6241 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/4.119, allocations: 183.2 kB / 0.6243 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/4.12, allocations: 10.11 kB / 0.6243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/4.12, allocations: 37.19 kB / 0.6243 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/4.12, allocations: 45.86 kB / 0.6243 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/4.121, allocations: 16.44 kB / 0.6244 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004021/4.121, allocations: 223 kB / 0.6246 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002894/4.124, allocations: 250.1 kB / 0.6248 GB, free: 14.02 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.000334/4.124, allocations: 139.5 kB / 0.6249 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002348/4.127, allocations: 0.8631 MB / 0.6258 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/4.127, allocations: 4 kB / 0.6258 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/4.127, allocations: 261.5 kB / 0.626 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/4.129, allocations: 131.2 kB / 0.6262 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/4.132, allocations: 0.8776 MB / 0.627 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/4.133, allocations: 0.9654 MB / 0.628 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/4.133, allocations: 4 kB / 0.628 GB, free: 10.84 MB / 0.4948 GB