Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.215e-05, allocations: 1.312 kB / 439.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 78.98 MB / 0.5065 GB, free: 2.637 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.2922, allocations: 111.5 MB / 0.6154 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.2925, allocations: 87.94 kB / 0.6155 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.3277/0.6204, allocations: 7.638 MB / 0.6229 GB, free: 111.3 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.6205, allocations: 10.28 kB / 0.623 GB, free: 111.3 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001757/0.6224, allocations: 0.6222 MB / 0.6236 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6225, allocations: 7.766 kB / 0.6236 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.6228, allocations: 54.19 kB / 0.6236 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.6238, allocations: 334 kB / 0.6239 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.6239, allocations: 18.66 kB / 0.624 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6242, allocations: 33.12 kB / 0.624 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008028/0.6251, allocations: 173.6 kB / 0.6242 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6263, allocations: 306.2 kB / 0.6245 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.6264, allocations: 4.5 kB / 0.6245 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.6266, allocations: 5 kB / 0.6245 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.328e-05/0.6268, allocations: 23.45 kB / 0.6245 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.6316, allocations: 1.854 MB / 0.6263 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.6325, allocations: 191.3 kB / 0.6265 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.6328, allocations: 31.45 kB / 0.6265 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.633, allocations: 11.09 kB / 0.6265 GB, free: 109.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.6336, allocations: 137.7 kB / 0.6266 GB, free: 109.4 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=46): time 7.333e-06/0.6337, allocations: 4.188 kB / 0.6267 GB, free: 109.4 MB / 0.5138 GB Notification: Performance of matching and sorting (n=46): time 0.0009897/0.6348, allocations: 192.1 kB / 0.6268 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0003385/0.6353, allocations: 54.69 kB / 0.6269 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.6354, allocations: 8.5 kB / 0.6269 GB, free: 109.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.6358, allocations: 315.2 kB / 0.6272 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.636, allocations: 36.88 kB / 0.6272 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6363, allocations: 190 kB / 0.6274 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6366, allocations: 91.83 kB / 0.6275 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.6367, allocations: 0.6562 kB / 0.6275 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6369, allocations: 341.8 kB / 0.6278 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.6373, allocations: 54.33 kB / 0.6279 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.638, allocations: 174.6 kB / 0.628 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.6385, allocations: 81.08 kB / 0.6281 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-06/0.6386, allocations: 1.219 kB / 0.6281 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/0.64, allocations: 300.1 kB / 0.6284 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.6401, allocations: 3.719 kB / 0.6284 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.617e-05/0.6402, allocations: 7.219 kB / 0.6284 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.6403, allocations: 7.672 kB / 0.6284 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.641, allocations: 73.66 kB / 0.6285 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.6417, allocations: 41.78 kB / 0.6285 GB, free: 108.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,$whenCondition2,$whenCondition1,con.greaterEqualThreshold.y,con.and1.u1,con.and1.u2,con.and1.y,con.and2.u2,con.and2.y,con.lessEqualThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.off.active,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.enableFire,con.t4.enableFire,con.stateGraphRoot.suspend,con.stateGraphRoot.resume) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003786/0.6422, allocations: 150.5 kB / 0.6287 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.6424, allocations: 26.09 kB / 0.6287 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.6438, allocations: 252.1 kB / 0.6289 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.6439, allocations: 5.984 kB / 0.629 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.644, allocations: 5.375 kB / 0.629 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.6441, allocations: 7.688 kB / 0.629 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.6473, allocations: 0.8168 MB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.15e-06/0.6475, allocations: 5.375 kB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.648, allocations: 47.81 kB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.739e-05/0.6481, allocations: 6.062 kB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.6482, allocations: 9.25 kB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.6483, allocations: 2.344 kB / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.68e-06/0.6484, allocations: 0 / 0.6298 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/0.6498, allocations: 322.3 kB / 0.6301 GB, free: 107.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.6499, allocations: 109.5 kB / 0.6302 GB, free: 107.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.6501, allocations: 1.688 kB / 0.6302 GB, free: 107.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.6508, allocations: 30.03 kB / 0.6303 GB, free: 107.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/0.6512, allocations: 64.16 kB / 0.6303 GB, free: 107.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (con.t2.enableFire,con.t1.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition2,$whenCondition1,con.greaterEqualThreshold.y,con.and1.u1,con.and1.u2,con.and1.y,con.and2.u2,con.and2.y,con.lessEqualThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.off.active,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.fire,con.t1.t_start,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.enableFire,con.t4.enableFire) * Number of discrete states: 3 (con.off.newActive,con.charge.newActive,con.discharge.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004855/0.6518, allocations: 141.1 kB / 0.6305 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009294/0.6528, allocations: 240.2 kB / 0.6307 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.61e-06/0.653, allocations: 1.344 kB / 0.6307 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.6535, allocations: 126.8 kB / 0.6308 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.6541, allocations: 25.55 kB / 0.6308 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.6564, allocations: 488.6 kB / 0.6313 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/0.6575, allocations: 0.9088 MB / 0.6322 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of SimCode: time 2.305e-06/0.6576, allocations: 0 / 0.6322 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.04791/0.7056, allocations: 4.711 MB / 0.6368 GB, free: 104.7 MB / 0.5138 GB