Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.541e-05, allocations: 1.125 kB / 439.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 78.97 MB / 0.5065 GB, free: 2.441 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.2956, allocations: 109.2 MB / 0.6131 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.296, allocations: 71.95 kB / 0.6132 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.03087/0.327, allocations: 3.865 MB / 0.6169 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3271, allocations: 0 / 0.6169 GB, free: 1.148 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001068/0.3282, allocations: 0.5516 MB / 0.6175 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3284, allocations: 8.031 kB / 0.6175 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.3286, allocations: 23.88 kB / 0.6175 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.3289, allocations: 194 kB / 0.6177 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.329, allocations: 7.969 kB / 0.6177 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.3293, allocations: 16 kB / 0.6177 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001641/0.3295, allocations: 35.88 kB / 0.6178 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.3299, allocations: 113.5 kB / 0.6179 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3301, allocations: 3.938 kB / 0.6179 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/0.3302, allocations: 0 / 0.6179 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3303, allocations: 4 kB / 0.6179 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2215/0.5518, allocations: 306 kB / 0.6182 GB, free: 182 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.5525, allocations: 87.16 kB / 0.6182 GB, free: 182 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.5527, allocations: 12.67 kB / 0.6183 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.5529, allocations: 3.875 kB / 0.6183 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.5537, allocations: 143.9 kB / 0.6184 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=18): time 4.26e-06/0.5539, allocations: 0 / 0.6184 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=18): time 0.0007673/0.5547, allocations: 136.5 kB / 0.6185 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002938/0.5552, allocations: 36.66 kB / 0.6186 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.5554, allocations: 7.344 kB / 0.6186 GB, free: 181.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.5557, allocations: 259.2 kB / 0.6188 GB, free: 181.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.5559, allocations: 37.86 kB / 0.6189 GB, free: 181.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.5562, allocations: 90.05 kB / 0.6189 GB, free: 181.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.5565, allocations: 37.69 kB / 0.619 GB, free: 181.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5567, allocations: 5.766 kB / 0.619 GB, free: 181.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5569, allocations: 324.4 kB / 0.6193 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.5574, allocations: 43.66 kB / 0.6193 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.5579, allocations: 106 kB / 0.6194 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.5583, allocations: 44.88 kB / 0.6195 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/0.5585, allocations: 0 / 0.6195 GB, free: 181.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.001186/0.5598, allocations: 212.5 kB / 0.6197 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5599, allocations: 6 kB / 0.6197 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.03e-05/0.5601, allocations: 6.344 kB / 0.6197 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.5603, allocations: 3.906 kB / 0.6197 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.5609, allocations: 28.84 kB / 0.6197 GB, free: 181.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.5621, allocations: 49.05 kB / 0.6198 GB, free: 181.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0005011/0.5628, allocations: 132.6 kB / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.563, allocations: 19.59 kB / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/0.5632, allocations: 7.719 kB / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5634, allocations: 3.75 kB / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.5635, allocations: 0 / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5636, allocations: 0 / 0.6199 GB, free: 181 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.5651, allocations: 455 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.775e-06/0.5653, allocations: 7.5 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.5656, allocations: 7.438 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.5657, allocations: 2.203 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.5659, allocations: 18.3 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.937e-06/0.566, allocations: 0 / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.775e-06/0.5662, allocations: 3.938 kB / 0.6204 GB, free: 180.7 MB / 0.5138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006041/0.5669, allocations: 224.5 kB / 0.6206 GB, free: 180.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.5674, allocations: 132.3 kB / 0.6207 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.5677, allocations: 14.03 kB / 0.6207 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.5685, allocations: 15.81 kB / 0.6208 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5688, allocations: 17.05 kB / 0.6208 GB, free: 180.4 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0004688/0.5694, allocations: 129.6 kB / 0.6209 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009022/0.5704, allocations: 210.5 kB / 0.6211 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.098e-06/0.5705, allocations: 0 / 0.6211 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.5709, allocations: 50.39 kB / 0.6212 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.5715, allocations: 17 kB / 0.6212 GB, free: 180.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5728, allocations: 249 kB / 0.6214 GB, free: 180.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/0.5737, allocations: 0.8029 MB / 0.6222 GB, free: 179.4 MB / 0.5138 GB Notification: Performance of SimCode: time 2.724e-06/0.5738, allocations: 0 / 0.6222 GB, free: 179.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.04635/0.6203, allocations: 4.135 MB / 0.6262 GB, free: 179.2 MB / 0.5138 GB