Notification: Performance of FrontEnd - loaded program: time 9.289e-06/9.429e-06, allocations: 1.062 kB / 439.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 78.96 MB / 0.5065 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.3319, allocations: 126.1 MB / 0.6296 GB, free: 38.1 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.3324, allocations: 87.77 kB / 0.6297 GB, free: 38.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.1067/0.4392, allocations: 26.7 MB / 0.6558 GB, free: 34.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.4393, allocations: 15.72 kB / 0.6558 GB, free: 34.93 MB / 0.5137 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.001762/0.4411, allocations: 0.8161 MB / 0.6566 GB, free: 34.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4412, allocations: 4.422 kB / 0.6566 GB, free: 34.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.4427, allocations: 156.3 kB / 0.6568 GB, free: 34.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.4437, allocations: 441.5 kB / 0.6572 GB, free: 34.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.4438, allocations: 16.75 kB / 0.6572 GB, free: 34.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4439, allocations: 31.31 kB / 0.6572 GB, free: 34.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005283/0.4445, allocations: 197.7 kB / 0.6574 GB, free: 34.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.4453, allocations: 372.5 kB / 0.6578 GB, free: 33.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4454, allocations: 0.6094 kB / 0.6578 GB, free: 33.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.248e-05/0.4456, allocations: 5.078 kB / 0.6578 GB, free: 33.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.4457, allocations: 47.55 kB / 0.6578 GB, free: 33.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.4495, allocations: 2.348 MB / 0.6601 GB, free: 32.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.4502, allocations: 309.7 kB / 0.6604 GB, free: 32.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.4504, allocations: 36.59 kB / 0.6604 GB, free: 32.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.4508, allocations: 0.6442 MB / 0.6611 GB, free: 31.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.4513, allocations: 225.5 kB / 0.6613 GB, free: 31.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 5.308e-06/0.4514, allocations: 0 / 0.6613 GB, free: 31.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.0008304/0.4523, allocations: 307.5 kB / 0.6616 GB, free: 31.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003063/0.4526, allocations: 127.3 kB / 0.6617 GB, free: 31.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4527, allocations: 17.75 kB / 0.6617 GB, free: 31.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.453, allocations: 334.4 kB / 0.662 GB, free: 31.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.4531, allocations: 37.83 kB / 0.6621 GB, free: 31.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.4533, allocations: 214.1 kB / 0.6623 GB, free: 31.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4535, allocations: 106.4 kB / 0.6624 GB, free: 31.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.4536, allocations: 0 / 0.6624 GB, free: 31.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.4537, allocations: 351.9 kB / 0.6627 GB, free: 30.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.4539, allocations: 76.11 kB / 0.6628 GB, free: 30.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4542, allocations: 166.7 kB / 0.6629 GB, free: 30.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.4546, allocations: 125.9 kB / 0.6631 GB, free: 30.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.797e-06/0.4547, allocations: 0.7031 kB / 0.6631 GB, free: 30.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009926/0.4557, allocations: 1.352 MB / 0.6644 GB, free: 29.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4558, allocations: 11.75 kB / 0.6644 GB, free: 29.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.4559, allocations: 4.953 kB / 0.6644 GB, free: 29.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.456, allocations: 8.422 kB / 0.6644 GB, free: 29.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.4568, allocations: 118.4 kB / 0.6645 GB, free: 29.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.4576, allocations: 57.92 kB / 0.6646 GB, free: 29.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-06/0.4576, allocations: 0 / 0.6646 GB, free: 29.56 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006335/0.4583, allocations: 245.8 kB / 0.6648 GB, free: 29.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.4584, allocations: 0 / 0.6648 GB, free: 29.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4585, allocations: 15.62 kB / 0.6648 GB, free: 29.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.52e-06/0.4585, allocations: 5.078 kB / 0.6648 GB, free: 29.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.4593, allocations: 122.8 kB / 0.665 GB, free: 29.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.46, allocations: 46.58 kB / 0.665 GB, free: 29.5 MB / 0.5137 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.0002727/0.4603, allocations: 133.7 kB / 0.6651 GB, free: 29.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4605, allocations: 48.27 kB / 0.6652 GB, free: 29.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.4613, allocations: 328.2 kB / 0.6655 GB, free: 29.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4614, allocations: 8.312 kB / 0.6655 GB, free: 29.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-06/0.4615, allocations: 3.938 kB / 0.6655 GB, free: 29.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4616, allocations: 10.11 kB / 0.6655 GB, free: 29.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.4632, allocations: 1.02 MB / 0.6665 GB, free: 28.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/0.4633, allocations: 0 / 0.6665 GB, free: 28.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/0.4641, allocations: 95.23 kB / 0.6666 GB, free: 28.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4642, allocations: 0.6094 kB / 0.6666 GB, free: 28.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.4643, allocations: 5.5 kB / 0.6666 GB, free: 28.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.936e-06/0.4644, allocations: 7.938 kB / 0.6666 GB, free: 28.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4644, allocations: 0.6562 kB / 0.6666 GB, free: 28.87 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/0.4656, allocations: 0.6388 MB / 0.6672 GB, free: 28.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.466, allocations: 181.3 kB / 0.6674 GB, free: 28.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.4662, allocations: 15.83 kB / 0.6674 GB, free: 28.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.4669, allocations: 34.31 kB / 0.6674 GB, free: 28.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.4671, allocations: 54.53 kB / 0.6675 GB, free: 28.51 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 49 * 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.0003285/0.4675, allocations: 144.9 kB / 0.6676 GB, free: 28.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.4685, allocations: 0.5144 MB / 0.6681 GB, free: 28.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4686, allocations: 3.906 kB / 0.6681 GB, free: 28.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.469, allocations: 169.1 kB / 0.6683 GB, free: 28.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.47, allocations: 128.2 kB / 0.6684 GB, free: 28.28 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.4719, allocations: 0.7626 MB / 0.6692 GB, free: 28.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.4727, allocations: 0.9895 MB / 0.6701 GB, free: 27.25 MB / 0.5137 GB Notification: Performance of SimCode: time 2.235e-06/0.4728, allocations: 3.938 kB / 0.6701 GB, free: 27.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.07421/0.547, allocations: 11.28 MB / 0.6812 GB, free: 22.42 MB / 0.5137 GB