[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.293/3.293, allocations: 404 MB / 410.9 MB, free: 2.145 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 9.166e-06/9.245e-06, allocations: 4 kB / 0.4941 GB, free: 4.512 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4226, allocations: 92.76 MB / 0.5846 GB, free: 1.875 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.6182, allocations: 139.6 MB / 0.721 GB, free: 7.141 MB / 0.6022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6185, allocations: 91.94 kB / 0.7211 GB, free: 7.051 MB / 0.6022 GB Notification: Performance of FrontEnd: time 0.1115/0.7301, allocations: 28.44 MB / 0.7489 GB, free: 10.34 MB / 0.6334 GB Notification: Performance of Transformations before backend: time 4.116e-05/0.7301, allocations: 16 kB / 0.7489 GB, free: 10.32 MB / 0.6334 GB 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.002029/0.7322, allocations: 0.8178 MB / 0.7497 GB, free: 9.449 MB / 0.6334 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7322, allocations: 19.91 kB / 0.7497 GB, free: 9.43 MB / 0.6334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.7338, allocations: 147 kB / 0.7498 GB, free: 9.285 MB / 0.6334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.7349, allocations: 439.3 kB / 0.7503 GB, free: 8.812 MB / 0.6334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.735, allocations: 16 kB / 0.7503 GB, free: 8.797 MB / 0.6334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.7351, allocations: 28 kB / 0.7503 GB, free: 8.766 MB / 0.6334 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/0.7363, allocations: 470 kB / 0.7508 GB, free: 8.309 MB / 0.6334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.7377, allocations: 0.597 MB / 0.7513 GB, free: 7.68 MB / 0.6334 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.7378, allocations: 0 / 0.7513 GB, free: 7.68 MB / 0.6334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.7379, allocations: 11.97 kB / 0.7513 GB, free: 7.668 MB / 0.6334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-05/0.7379, allocations: 44.97 kB / 0.7514 GB, free: 7.625 MB / 0.6334 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004512/0.7425, allocations: 2.255 MB / 0.7536 GB, free: 5.266 MB / 0.6334 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.7437, allocations: 0.5274 MB / 0.7541 GB, free: 4.719 MB / 0.6334 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004902/0.7442, allocations: 237.6 kB / 0.7543 GB, free: 4.48 MB / 0.6334 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/0.7448, allocations: 0.559 MB / 0.7549 GB, free: 3.793 MB / 0.6334 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007132/0.7455, allocations: 347 kB / 0.7552 GB, free: 3.438 MB / 0.6334 GB Notification: Performance of pre-optimization done (n=49): time 3.999e-06/0.7455, allocations: 0 / 0.7552 GB, free: 3.438 MB / 0.6334 GB Notification: Performance of matching and sorting (n=49): time 0.001397/0.7469, allocations: 0.4985 MB / 0.7557 GB, free: 2.934 MB / 0.6334 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.747, allocations: 85.78 kB / 0.7558 GB, free: 2.828 MB / 0.6334 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.7475, allocations: 278.1 kB / 0.756 GB, free: 2.555 MB / 0.6334 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7476, allocations: 37.69 kB / 0.7561 GB, free: 2.512 MB / 0.6334 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.7479, allocations: 232.5 kB / 0.7563 GB, free: 2.277 MB / 0.6334 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.7481, allocations: 153.8 kB / 0.7564 GB, free: 2.125 MB / 0.6334 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.7481, allocations: 0 / 0.7564 GB, free: 2.125 MB / 0.6334 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.7483, allocations: 354.8 kB / 0.7568 GB, free: 1.77 MB / 0.6334 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.7488, allocations: 213.3 kB / 0.757 GB, free: 1.559 MB / 0.6334 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.7494, allocations: 342.5 kB / 0.7573 GB, free: 1.18 MB / 0.6334 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006536/0.7501, allocations: 239.9 kB / 0.7575 GB, free: 0.9453 MB / 0.6334 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-06/0.7501, allocations: 0 / 0.7575 GB, free: 0.9453 MB / 0.6334 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001535/0.7517, allocations: 0.5984 MB / 0.7581 GB, free: 348 kB / 0.6334 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/0.7522, allocations: 1.055 MB / 0.7592 GB, free: 15.2 MB / 0.6491 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7522, allocations: 4 kB / 0.7592 GB, free: 15.2 MB / 0.6491 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.7523, allocations: 7.906 kB / 0.7592 GB, free: 15.19 MB / 0.6491 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.7531, allocations: 111.8 kB / 0.7593 GB, free: 15.08 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7531, allocations: 8 kB / 0.7593 GB, free: 15.07 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.7538, allocations: 59.58 kB / 0.7593 GB, free: 15.02 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.7539, allocations: 23.94 kB / 0.7594 GB, free: 14.99 MB / 0.6491 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.754, allocations: 6.5 kB / 0.7594 GB, free: 14.99 MB / 0.6491 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.7552, allocations: 471.8 kB / 0.7598 GB, free: 14.53 MB / 0.6491 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7553, allocations: 4.25 kB / 0.7598 GB, free: 14.52 MB / 0.6491 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7553, allocations: 12 kB / 0.7598 GB, free: 14.51 MB / 0.6491 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.756, allocations: 107.8 kB / 0.7599 GB, free: 14.41 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.756, allocations: 7.906 kB / 0.7599 GB, free: 14.4 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.7566, allocations: 47.72 kB / 0.76 GB, free: 14.35 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.7567, allocations: 23.98 kB / 0.76 GB, free: 14.33 MB / 0.6491 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.0002282/0.7569, allocations: 130.8 kB / 0.7601 GB, free: 14.2 MB / 0.6491 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.7571, allocations: 47.44 kB / 0.7602 GB, free: 14.15 MB / 0.6491 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.7585, allocations: 0.5392 MB / 0.7607 GB, free: 13.6 MB / 0.6491 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.921e-06/0.7585, allocations: 4 kB / 0.7607 GB, free: 13.6 MB / 0.6491 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.778e-06/0.7585, allocations: 3.906 kB / 0.7607 GB, free: 13.59 MB / 0.6491 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.7585, allocations: 7.984 kB / 0.7607 GB, free: 13.59 MB / 0.6491 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009621/0.7595, allocations: 0.5448 MB / 0.7613 GB, free: 13 MB / 0.6491 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-06/0.7595, allocations: 0 / 0.7613 GB, free: 13 MB / 0.6491 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.7603, allocations: 88.06 kB / 0.7613 GB, free: 12.91 MB / 0.6491 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.7603, allocations: 4 kB / 0.7613 GB, free: 12.91 MB / 0.6491 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.7604, allocations: 4 kB / 0.7614 GB, free: 12.91 MB / 0.6491 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.567e-06/0.7604, allocations: 4 kB / 0.7614 GB, free: 12.9 MB / 0.6491 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.161e-06/0.7604, allocations: 4 kB / 0.7614 GB, free: 12.9 MB / 0.6491 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001919/0.7623, allocations: 0.8638 MB / 0.7622 GB, free: 12.02 MB / 0.6491 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/0.7628, allocations: 176.5 kB / 0.7624 GB, free: 11.82 MB / 0.6491 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.7629, allocations: 11.89 kB / 0.7624 GB, free: 11.81 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/0.7634, allocations: 31.97 kB / 0.7624 GB, free: 11.78 MB / 0.6491 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7636, allocations: 48.3 kB / 0.7625 GB, free: 11.73 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.7637, allocations: 16 kB / 0.7625 GB, free: 11.72 MB / 0.6491 GB Notification: Performance of sort global known variables: time 0.0003727/0.764, allocations: 224.6 kB / 0.7627 GB, free: 11.5 MB / 0.6491 GB Notification: Performance of remove unused functions: time 0.001078/0.7651, allocations: 239.2 kB / 0.7629 GB, free: 11.27 MB / 0.6491 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.0002716/0.7654, allocations: 154.7 kB / 0.7631 GB, free: 11.11 MB / 0.6491 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.7673, allocations: 0.854 MB / 0.7639 GB, free: 10.23 MB / 0.6491 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7673, allocations: 0 / 0.7639 GB, free: 10.23 MB / 0.6491 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.768, allocations: 265.5 kB / 0.7642 GB, free: 9.977 MB / 0.6491 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.769, allocations: 147.9 kB / 0.7643 GB, free: 9.836 MB / 0.6491 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.7714, allocations: 0.8318 MB / 0.7651 GB, free: 8.977 MB / 0.6491 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009668/0.7724, allocations: 0.9537 MB / 0.766 GB, free: 7.992 MB / 0.6491 GB Notification: Performance of SimCode: time 1.135e-06/0.7724, allocations: 4 kB / 0.766 GB, free: 7.988 MB / 0.6491 GB Notification: Performance of Templates: time 0.02623/0.7987, allocations: 10.38 MB / 0.7762 GB, free: 13.71 MB / 0.6647 GB