[: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.217/3.217, allocations: 404 MB / 410.9 MB, free: 2.172 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 6.947e-06/7.287e-06, allocations: 0 / 0.4941 GB, free: 4.535 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4116, allocations: 92.77 MB / 0.5846 GB, free: 1.855 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.607, allocations: 138.2 MB / 0.7196 GB, free: 8.637 MB / 0.6022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.6074, allocations: 91.94 kB / 0.7197 GB, free: 8.547 MB / 0.6022 GB Notification: Performance of FrontEnd: time 0.1155/0.7229, allocations: 26.55 MB / 0.7456 GB, free: 13.75 MB / 0.6334 GB Notification: Performance of Transformations before backend: time 4.016e-05/0.723, allocations: 12 kB / 0.7456 GB, free: 13.74 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.001956/0.725, allocations: 0.8256 MB / 0.7464 GB, free: 12.86 MB / 0.6334 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.725, allocations: 12.03 kB / 0.7464 GB, free: 12.85 MB / 0.6334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.7265, allocations: 147 kB / 0.7466 GB, free: 12.7 MB / 0.6334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009584/0.7275, allocations: 439.2 kB / 0.747 GB, free: 12.23 MB / 0.6334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.7276, allocations: 16 kB / 0.747 GB, free: 12.21 MB / 0.6334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.7277, allocations: 32 kB / 0.747 GB, free: 12.18 MB / 0.6334 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/0.7288, allocations: 466.1 kB / 0.7475 GB, free: 11.73 MB / 0.6334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.7301, allocations: 0.597 MB / 0.7481 GB, free: 11.1 MB / 0.6334 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.7302, allocations: 0 / 0.7481 GB, free: 11.1 MB / 0.6334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.7303, allocations: 3.984 kB / 0.7481 GB, free: 11.1 MB / 0.6334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.7304, allocations: 40.98 kB / 0.7481 GB, free: 11.06 MB / 0.6334 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.7347, allocations: 2.27 MB / 0.7503 GB, free: 8.684 MB / 0.6334 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.7358, allocations: 0.5191 MB / 0.7508 GB, free: 8.145 MB / 0.6334 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.7363, allocations: 233.6 kB / 0.7511 GB, free: 7.91 MB / 0.6334 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/0.7369, allocations: 0.571 MB / 0.7516 GB, free: 7.211 MB / 0.6334 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/0.7376, allocations: 342.9 kB / 0.7519 GB, free: 6.859 MB / 0.6334 GB Notification: Performance of pre-optimization done (n=49): time 3.167e-06/0.7376, allocations: 4 kB / 0.7519 GB, free: 6.855 MB / 0.6334 GB Notification: Performance of matching and sorting (n=49): time 0.001314/0.739, allocations: 0.4947 MB / 0.7524 GB, free: 6.355 MB / 0.6334 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.739, allocations: 89.58 kB / 0.7525 GB, free: 6.246 MB / 0.6334 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.7395, allocations: 278.1 kB / 0.7528 GB, free: 5.973 MB / 0.6334 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.7396, allocations: 33.7 kB / 0.7528 GB, free: 5.934 MB / 0.6334 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.7398, allocations: 232.4 kB / 0.753 GB, free: 5.699 MB / 0.6334 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.74, allocations: 149.8 kB / 0.7532 GB, free: 5.551 MB / 0.6334 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.7401, allocations: 0 / 0.7532 GB, free: 5.551 MB / 0.6334 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7403, allocations: 358.7 kB / 0.7535 GB, free: 5.191 MB / 0.6334 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.7408, allocations: 213.3 kB / 0.7537 GB, free: 4.98 MB / 0.6334 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.7414, allocations: 334.5 kB / 0.754 GB, free: 4.609 MB / 0.6334 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.742, allocations: 247.8 kB / 0.7543 GB, free: 4.367 MB / 0.6334 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.594e-06/0.742, allocations: 4 kB / 0.7543 GB, free: 4.363 MB / 0.6334 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001464/0.7435, allocations: 0.5984 MB / 0.7549 GB, free: 3.758 MB / 0.6334 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004643/0.744, allocations: 1.051 MB / 0.7559 GB, free: 2.625 MB / 0.6334 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.25e-06/0.744, allocations: 0 / 0.7559 GB, free: 2.625 MB / 0.6334 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.744, allocations: 11.91 kB / 0.7559 GB, free: 2.613 MB / 0.6334 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.7448, allocations: 111.8 kB / 0.756 GB, free: 2.504 MB / 0.6334 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.7449, allocations: 11.92 kB / 0.756 GB, free: 2.492 MB / 0.6334 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.7456, allocations: 59.58 kB / 0.7561 GB, free: 2.434 MB / 0.6334 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.7456, allocations: 20 kB / 0.7561 GB, free: 2.414 MB / 0.6334 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7457, allocations: 4 kB / 0.7561 GB, free: 2.41 MB / 0.6334 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/0.7469, allocations: 467.9 kB / 0.7565 GB, free: 1.953 MB / 0.6334 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.664e-06/0.7469, allocations: 4 kB / 0.7566 GB, free: 1.949 MB / 0.6334 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7469, allocations: 11.84 kB / 0.7566 GB, free: 1.938 MB / 0.6334 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.7476, allocations: 108.2 kB / 0.7567 GB, free: 1.832 MB / 0.6334 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.142e-06/0.7476, allocations: 8.25 kB / 0.7567 GB, free: 1.824 MB / 0.6334 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.7482, allocations: 55.64 kB / 0.7567 GB, free: 1.77 MB / 0.6334 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.7483, allocations: 20 kB / 0.7567 GB, free: 1.75 MB / 0.6334 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.0002037/0.7485, allocations: 122.9 kB / 0.7569 GB, free: 1.625 MB / 0.6334 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7486, allocations: 55.42 kB / 0.7569 GB, free: 1.57 MB / 0.6334 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.75, allocations: 0.5352 MB / 0.7574 GB, free: 1.031 MB / 0.6334 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.75, allocations: 11.91 kB / 0.7574 GB, free: 1.02 MB / 0.6334 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.215e-06/0.75, allocations: 0 / 0.7574 GB, free: 1.02 MB / 0.6334 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.775e-06/0.75, allocations: 3.984 kB / 0.7575 GB, free: 1.016 MB / 0.6334 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.751, allocations: 0.5449 MB / 0.758 GB, free: 440 kB / 0.6334 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.259e-06/0.751, allocations: 3.984 kB / 0.758 GB, free: 436 kB / 0.6334 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/0.7518, allocations: 91.88 kB / 0.7581 GB, free: 344 kB / 0.6334 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.7518, allocations: 4 kB / 0.7581 GB, free: 340 kB / 0.6334 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.7519, allocations: 7.922 kB / 0.7581 GB, free: 332 kB / 0.6334 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.101e-06/0.7519, allocations: 4 kB / 0.7581 GB, free: 328 kB / 0.6334 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-06/0.7519, allocations: 0 / 0.7581 GB, free: 328 kB / 0.6334 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001809/0.7537, allocations: 0.8693 MB / 0.7589 GB, free: 15.43 MB / 0.6491 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.7541, allocations: 176.5 kB / 0.7591 GB, free: 15.23 MB / 0.6491 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7542, allocations: 7.906 kB / 0.7591 GB, free: 15.23 MB / 0.6491 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.7547, allocations: 31.95 kB / 0.7591 GB, free: 15.2 MB / 0.6491 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7549, allocations: 44.36 kB / 0.7592 GB, free: 15.15 MB / 0.6491 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.755, allocations: 16 kB / 0.7592 GB, free: 15.14 MB / 0.6491 GB Notification: Performance of sort global known variables: time 0.000337/0.7553, allocations: 224.6 kB / 0.7594 GB, free: 14.92 MB / 0.6491 GB Notification: Performance of remove unused functions: time 0.001076/0.7564, allocations: 239.2 kB / 0.7596 GB, free: 14.68 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.0002589/0.7567, allocations: 150.8 kB / 0.7598 GB, free: 14.53 MB / 0.6491 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.7585, allocations: 0.8547 MB / 0.7606 GB, free: 13.66 MB / 0.6491 GB Notification: Performance of simCode: created event and clocks part: time 3.659e-06/0.7585, allocations: 320 / 0.7606 GB, free: 13.66 MB / 0.6491 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.7591, allocations: 273.5 kB / 0.7609 GB, free: 13.39 MB / 0.6491 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.7601, allocations: 136.2 kB / 0.761 GB, free: 13.26 MB / 0.6491 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.7623, allocations: 0.8226 MB / 0.7618 GB, free: 12.41 MB / 0.6491 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008891/0.7632, allocations: 0.9615 MB / 0.7628 GB, free: 11.42 MB / 0.6491 GB Notification: Performance of SimCode: time 9.45e-07/0.7633, allocations: 0 / 0.7628 GB, free: 11.42 MB / 0.6491 GB Notification: Performance of Templates: time 0.02624/0.7895, allocations: 10.39 MB / 0.7729 GB, free: 1.133 MB / 0.6491 GB