Notification: Performance of FrontEnd - loaded program: time 8.101e-06/8.241e-06, allocations: 0 / 439.6 MB, free: 14.66 MB / 354.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 78.97 MB / 0.5065 GB, free: 15.54 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.5588, allocations: 134.3 MB / 0.6376 GB, free: 13.12 MB / 0.5184 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5591, allocations: 85.27 kB / 0.6377 GB, free: 13.07 MB / 0.5184 GB [Buildings latest/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [Buildings latest/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.0741/0.6333, allocations: 20.39 MB / 0.6576 GB, free: 12.48 MB / 0.534 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.6334, allocations: 23.92 kB / 0.6577 GB, free: 12.45 MB / 0.534 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001396/0.6349, allocations: 0.7819 MB / 0.6584 GB, free: 11.67 MB / 0.534 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.635, allocations: 8.031 kB / 0.6584 GB, free: 11.66 MB / 0.534 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6361, allocations: 131.4 kB / 0.6586 GB, free: 11.54 MB / 0.534 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.637, allocations: 411.1 kB / 0.659 GB, free: 11.14 MB / 0.534 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.6371, allocations: 29.69 kB / 0.659 GB, free: 11.12 MB / 0.534 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6373, allocations: 47.91 kB / 0.659 GB, free: 11.07 MB / 0.534 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005558/0.6379, allocations: 243.2 kB / 0.6593 GB, free: 10.88 MB / 0.534 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.6388, allocations: 0.4926 MB / 0.6597 GB, free: 10.36 MB / 0.534 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.6389, allocations: 7.938 kB / 0.6597 GB, free: 10.36 MB / 0.534 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.639, allocations: 4 kB / 0.6597 GB, free: 10.35 MB / 0.534 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.6391, allocations: 46.98 kB / 0.6598 GB, free: 10.31 MB / 0.534 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.6437, allocations: 3.325 MB / 0.663 GB, free: 7.387 MB / 0.534 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6442, allocations: 180.8 kB / 0.6632 GB, free: 7.223 MB / 0.534 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.6445, allocations: 71.72 kB / 0.6633 GB, free: 7.156 MB / 0.534 GB Notification: Performance of preOpt evalFunc (simulation): time 7.152e-05/0.6446, allocations: 4.5 kB / 0.6633 GB, free: 7.148 MB / 0.534 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.6449, allocations: 150.4 kB / 0.6634 GB, free: 7.012 MB / 0.534 GB Notification: Performance of pre-optimization done (n=46): time 2.864e-06/0.645, allocations: 0 / 0.6634 GB, free: 7.012 MB / 0.534 GB Notification: Performance of matching and sorting (n=46): time 0.0004803/0.6455, allocations: 203.4 kB / 0.6636 GB, free: 6.824 MB / 0.534 GB Notification: Performance of remove unused functions: time 0.0002528/0.6458, allocations: 107.5 kB / 0.6637 GB, free: 6.719 MB / 0.534 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.6459, allocations: 12.28 kB / 0.6637 GB, free: 6.707 MB / 0.534 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.6462, allocations: 346.2 kB / 0.6641 GB, free: 6.398 MB / 0.534 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.6463, allocations: 36.75 kB / 0.6641 GB, free: 6.359 MB / 0.534 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.6465, allocations: 273.4 kB / 0.6644 GB, free: 6.117 MB / 0.534 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6467, allocations: 103.3 kB / 0.6645 GB, free: 6.035 MB / 0.534 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.6468, allocations: 0 / 0.6645 GB, free: 6.035 MB / 0.534 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.6469, allocations: 349.2 kB / 0.6648 GB, free: 5.703 MB / 0.534 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6471, allocations: 63.55 kB / 0.6649 GB, free: 5.656 MB / 0.534 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.6476, allocations: 258.2 kB / 0.6651 GB, free: 5.332 MB / 0.534 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.6479, allocations: 109.3 kB / 0.6652 GB, free: 5.234 MB / 0.534 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.797e-06/0.6479, allocations: 4 kB / 0.6652 GB, free: 5.23 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.6493, allocations: 2.993 MB / 0.6681 GB, free: 2.051 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6494, allocations: 15.92 kB / 0.6681 GB, free: 2.035 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.6495, allocations: 12 kB / 0.6682 GB, free: 2.023 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.6495, allocations: 23.83 kB / 0.6682 GB, free: 2 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.6501, allocations: 114.9 kB / 0.6683 GB, free: 1.895 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.6506, allocations: 27.8 kB / 0.6683 GB, free: 1.867 MB / 0.534 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-06/0.6507, allocations: 4 kB / 0.6683 GB, free: 1.863 MB / 0.534 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005805/0.6513, allocations: 294.6 kB / 0.6686 GB, free: 1.594 MB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6514, allocations: 12.12 kB / 0.6686 GB, free: 1.582 MB / 0.534 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.6515, allocations: 12 kB / 0.6686 GB, free: 1.57 MB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.6516, allocations: 19.92 kB / 0.6686 GB, free: 1.551 MB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.6521, allocations: 110.7 kB / 0.6688 GB, free: 1.449 MB / 0.534 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.6527, allocations: 31.73 kB / 0.6688 GB, free: 1.418 MB / 0.534 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.toOn.enableFire,$PRE.toHold.enableFire,$PRE.toDischarge.enableFire,$PRE.toOff.enableFire,$whenCondition1,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,startCharge.y,greaterEqualThreshold.y,startDischarge.y,lessEqualThreshold.y,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,toOn.enableFire,$PRE.charge.localActive,charge.localActive,$PRE.charge.newActive,charge.newActive,$PRE.charge.oldActive,charge.oldActive,charge.active,toHold.enableFire,$PRE.hold.localActive,hold.localActive,$PRE.hold.newActive,hold.newActive,$PRE.hold.oldActive,hold.oldActive,hold.active,toDischarge.enableFire,$PRE.discharge.localActive,discharge.localActive,$PRE.discharge.newActive,discharge.newActive,$PRE.discharge.oldActive,discharge.oldActive,discharge.active,toOff.enableFire,stateGraphRoot.activeSteps,stateGraphRoot.suspend,stateGraphRoot.resume) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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.0003019/0.653, allocations: 140.2 kB / 0.6689 GB, free: 1.277 MB / 0.534 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6532, allocations: 51.2 kB / 0.669 GB, free: 1.23 MB / 0.534 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.6539, allocations: 230.4 kB / 0.6692 GB, free: 1.031 MB / 0.534 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.654, allocations: 8.422 kB / 0.6692 GB, free: 1.023 MB / 0.534 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.844e-06/0.654, allocations: 0 / 0.6692 GB, free: 1.023 MB / 0.534 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6541, allocations: 3.984 kB / 0.6692 GB, free: 1.02 MB / 0.534 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.6559, allocations: 0.8488 MB / 0.67 GB, free: 284 kB / 0.534 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.517e-06/0.656, allocations: 4 kB / 0.67 GB, free: 280 kB / 0.534 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.6564, allocations: 47.89 kB / 0.6701 GB, free: 232 kB / 0.534 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-06/0.6565, allocations: 0 / 0.6701 GB, free: 232 kB / 0.534 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.6565, allocations: 11.92 kB / 0.6701 GB, free: 224 kB / 0.534 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.241e-06/0.6566, allocations: 4.062 kB / 0.6701 GB, free: 220 kB / 0.534 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.962e-06/0.6567, allocations: 7.938 kB / 0.6701 GB, free: 212 kB / 0.534 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000829/0.6576, allocations: 456.3 kB / 0.6705 GB, free: 15.78 MB / 0.5496 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.6579, allocations: 149.2 kB / 0.6707 GB, free: 15.63 MB / 0.5496 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.163e-05/0.658, allocations: 7.75 kB / 0.6707 GB, free: 15.62 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.6584, allocations: 7.984 kB / 0.6707 GB, free: 15.62 MB / 0.5496 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6586, allocations: 43.78 kB / 0.6707 GB, free: 15.58 MB / 0.5496 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (bat.cha.SOC) * Number of discrete variables: 32 (off.localActive,charge.localActive,hold.localActive,discharge.localActive,$cse1,$cse2,$cse3,$cse4,$whenCondition1,bat.cha.underCharged,bat.cha.overCharged,startCharge.y,greaterEqualThreshold.y,startDischarge.y,lessEqualThreshold.y,off.newActive,off.oldActive,off.active,toOn.enableFire,charge.newActive,charge.oldActive,charge.active,toHold.enableFire,hold.newActive,hold.oldActive,hold.active,toDischarge.enableFire,discharge.newActive,discharge.oldActive,discharge.active,toOff.enableFire,stateGraphRoot.activeSteps) * Number of discrete states: 6 (discharge.newActive,hold.newActive,charge.newActive,off.newActive,bat.cha.underCharged,bat.cha.overCharged) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003159/0.659, allocations: 140.9 kB / 0.6709 GB, free: 15.44 MB / 0.5496 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.6601, allocations: 478.7 kB / 0.6713 GB, free: 15.04 MB / 0.5496 GB Notification: Performance of simCode: created event and clocks part: time 4.4e-06/0.6602, allocations: 0 / 0.6713 GB, free: 15.04 MB / 0.5496 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.6605, allocations: 129.1 kB / 0.6714 GB, free: 14.94 MB / 0.5496 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.6611, allocations: 67.09 kB / 0.6715 GB, free: 14.88 MB / 0.5496 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.6631, allocations: 0.6726 MB / 0.6722 GB, free: 14.23 MB / 0.5496 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.6637, allocations: 0.9934 MB / 0.6731 GB, free: 13.21 MB / 0.5496 GB Notification: Performance of SimCode: time 2.025e-06/0.6638, allocations: 4 kB / 0.6731 GB, free: 13.21 MB / 0.5496 GB Notification: Performance of Templates: time 0.0955/0.7593, allocations: 7.594 MB / 0.6806 GB, free: 5.676 MB / 0.5496 GB