Skip to content

Instantly share code, notes, and snippets.

@nikhilwoodruff
Created December 21, 2021 22:47
Show Gist options
  • Save nikhilwoodruff/32dace30c698bd5105a563ce75c3b073 to your computer and use it in GitHub Desktop.
Save nikhilwoodruff/32dace30c698bd5105a563ce75c3b073 to your computer and use it in GitHub Desktop.
Number of workers = 7
Using baseline tax parameters from /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_BASELINE/TxFuncEst_baseline.pkl
Running current law policy baseline
Running current law policy baseline
Running current law policy baseline
Running current law policy baseline
Running current law policy baseline
Running current law policy baseline
BW = 6 begin year = 2018 end year = 2023
year= 2019 age= all ages
year= 2021 age= all ages
year= 2020 age= all ages
year= 2023 age= all ages
year= 2022 age= all ages
year= 2018 age= all ages
Finished tax function loop through 6 years and 1 ages per year.
Tax function estimation time: 54.973 sec
making dir: /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_BASELINE/SS
making dir: /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_BASELINE/TPI
In runner, baseline is True
5.368696689605713
GE loop errors = 0.00848060648436437 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476730593016 -0.07823187407574479
1.7379276752471924
GE loop errors = 0.008480606484364023 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476730593016 -0.07823187407574474
0.9201328754425049
GE loop errors = 0.008480606484363995 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476730593154 -0.07823187407574475
0.8846323490142822
GE loop errors = 0.00848060477030356 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947820770395 -0.07823187412318781
0.8375897407531738
GE loop errors = 0.008480606483357855 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947673099339 -0.07823187407566476
1.0759270191192627
GE loop errors = 0.008480606483447548 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476730514745 -0.07823187407563126
1.1904833316802979
GE loop errors = 0.008480606483658684 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947673019778 -0.07823187407562704
1.1472094058990479
GE loop errors = 0.008480606484018618 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476730322815 -0.07823187407568012
1.4264636039733887
GE loop errors = 0.008480606484022851 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947673026883 -0.07823187407567567
1.1825060844421387
GE loop errors = 0.008480606484072853 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947673020777 -0.07823187407567558
1.242124319076538
GE loop errors = 0.008480606484335546 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583947673053043 -0.07823187407573567
1.9348304271697998
GE loop errors = 0.008480606741285757 [0.02003896 0.02367723 0.02162942 0.01277132 0.01509071 0.01829787
0.00371794] 0.005583946702256308 -0.07823187404716243
0.9520668983459473
GE loop errors = 0.008480606818329309 [0.02003896 0.02367723 0.02162941 0.01277132 0.01509071 0.01829787
0.00371794] 0.0055839476575105865 -0.07823187617791844
1.0141117572784424
GE loop errors = -0.0030282189109920865 [0.00010995 0.00168614 0.00255126 0.00144064 0.00150118 0.00088442
0.00031358] 0.0008785927110398564 0.0009680873711665205
0.8881311416625977
GE loop errors = 0.00045102894435416346 [-1.04576391e-04 -3.85346730e-04 -4.25609811e-04 -1.72429440e-04
-1.74262848e-04 -1.33971902e-04 -1.39485866e-05] 0.00013055983344388566 -0.00024112210332861983
1.1604740619659424
GE loop errors = -3.3579968904344504e-05 [-1.96122312e-06 2.73546033e-06 4.70378160e-06 1.58339672e-06
2.65638868e-06 8.71648449e-07 5.93128737e-07] 4.982060275909861e-06 8.017718171396404e-06
2.0679168701171875
GE loop errors = -4.5028640292196775e-06 [ 8.33399044e-08 -1.36909735e-07 -3.03379640e-07 -6.87539607e-08
-7.19856249e-08 -5.55020206e-08 1.08768389e-08] 3.6420783498108955e-07 -3.0421104030287083e-07
1.0110015869140625
GE loop errors = -3.328165971705488e-07 [-1.01351678e-08 3.36616901e-08 5.54843757e-08 3.15107447e-08
4.85121106e-08 4.76132093e-08 9.52054158e-09] 5.8227217145101484e-09 3.899842851429192e-09
1.820420265197754
GE loop errors = 1.5750867672637003e-08 [2.47199285e-09 2.26302591e-09 2.44742622e-09 6.70683127e-10
6.78122461e-10 2.46075788e-10 4.63505727e-11] -1.4020882718734917e-09 2.9238061277636618e-09
1.3606312274932861
GE loop errors = 1.3016362224171907e-09 [-9.59385904e-11 -8.63985272e-12 -1.37458829e-11 -2.61966317e-11
-4.12414304e-11 -4.46926905e-11 -9.15673093e-12] -5.760391469378234e-11 5.581002326948692e-11
0.9776008129119873
GE loop errors = -8.897197562030001e-11 [2.06265456e-11 7.15138365e-12 8.83176171e-12 4.61024274e-12
5.93051303e-12 4.87382010e-12 1.02533823e-12] 2.0115714649548977e-12 3.735498022017225e-12
2.199979543685913
GE loop errors = 3.008267246418228e-12 [-8.33416669e-13 -2.83224832e-13 -3.76330911e-13 -1.84716825e-13
-2.33493780e-13 -1.87138499e-13 -3.85308105e-14] -4.635875017200419e-14 -1.9081958235744878e-13
1.7705817222595215
GE loop errors = -2.7207402997220242e-14 [7.81319454e-15 1.88044025e-15 3.19883009e-15 1.57165947e-15
1.96023753e-15 1.58553726e-15 3.22658567e-16] 5.273559366969494e-16 1.5681900222830336e-15
0.8245582580566406
Iteration: 01 Distance: 3.469267678129797e-13
Foreign debt holdings = 0.5310253369545826
Foreign capital holdings = 0.03219021255875511
resource constraint: -6.09061412415457e-14
Steady state government spending is negative to satisfy budget
Checking constraints on capital, labor, and consumption.
There were no violations of the constraints on labor supply.
There were no violations of the constraints on consumption.
Maximum error in labor FOC = 8.43769498715119e-15
Maximum error in savings FOC = 1.4765966227514582e-14
JUST SAVED SS output to /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_BASELINE/SS/SS_vars.pkl
Government spending breakpoints are tG1: 20 ; and tG2: 256
Type 4 max euler error = 2.0299317782246362e-12
Type 1 max euler error = 9.648115639748767e-13
Type 3 max euler error = 2.1032064978498966e-12
Type 6 max euler error = 1.2176926134088717e-12
Type 0 max euler error = 8.65529869997772e-13
Type 5 max euler error = 1.4082068844345486e-12
Type 2 max euler error = 2.2178786585058674e-12
Maximum debt ratio: 5.560323024231703
r diff: 0.04457831051037271 -0.0065179190398016035
BQ diff: 0.00466292053016901 -0.00014598279351328916
TR diff: 0.0019709695868014854 -0.008791777097830265
Y diff: 0.021899662075572146 -0.09768641219811397
Iteration: 1
Distance: 0.576560294475286
Type 4 max euler error = 1.2181367026187218e-12
Type 2 max euler error = 1.5372147998959917e-12
Type 5 max euler error = 1.5774048733874224e-12
Type 0 max euler error = 1.0073053502424045e-12
Type 6 max euler error = 1.319166997859611e-12
Type 1 max euler error = 1.8724743977571734e-12
Type 3 max euler error = 1.0736411759637576e-12
Maximum debt ratio: 7.357780889899494
r diff: 0.03653429362215932 -0.0035447203265859956
BQ diff: 0.005864497133415643 -8.292155076827096e-05
TR diff: 0.001402296755271995 -0.008108482131292102
Y diff: 0.015581075058577643 -0.0900942459032456
Iteration: 2
Distance: 0.35932819038689623
Type 4 max euler error = 1.2740919430598296e-12
Type 5 max euler error = 1.9415580254644738e-12
Type 1 max euler error = 1.3785361741014412e-12
Type 3 max euler error = 1.2284895323233513e-12
Type 0 max euler error = 1.2367884494324244e-12
Type 2 max euler error = 1.4201001485858455e-12
Type 6 max euler error = 8.314460231417797e-13
Maximum debt ratio: 8.907994769116096
r diff: 0.020199989635612675 -0.0022364738241123783
BQ diff: 0.006554938348149131 -5.838921392213592e-05
TR diff: 0.0009296909826116556 -0.006029548259844808
Y diff: 0.010329899806796217 -0.06699498066494225
Iteration: 3
Distance: 0.1978119055948264
Type 3 max euler error = 1.0894202207012427e-12
Type 4 max euler error = 1.3271606036369121e-12
Type 5 max euler error = 2.3567814366742823e-12
Type 2 max euler error = 1.7591345047307527e-12
Type 0 max euler error = 7.23421322845752e-13
Type 6 max euler error = 7.388534228880417e-13
Type 1 max euler error = 1.5978329770405253e-12
Maximum debt ratio: 10.115009214938427
r diff: 0.011898289592599115 -0.0031460272149584426
BQ diff: 0.0052777034237907125 -9.415627939858562e-05
TR diff: 0.0005978400895580716 -0.004426085239893338
Y diff: 0.006642667661756252 -0.04917872488770375
Iteration: 4
Distance: 0.14413820964672358
Type 1 max euler error = 1.7661705431493147e-12
Type 5 max euler error = 1.8403056856186595e-12
Type 6 max euler error = 7.459033390944114e-13
Type 0 max euler error = 1.1644019082268642e-12
Type 3 max euler error = 1.058209075921468e-12
Type 4 max euler error = 2.0683454948766666e-12
Type 2 max euler error = 2.4432261769291586e-12
Maximum debt ratio: 11.083002400255221
r diff: 0.007799996498705136 -0.002697110254358606
BQ diff: 0.003860185183187363 -7.462183775356485e-05
TR diff: 0.0003796965756522469 -0.0032454302757603318
Y diff: 0.004218850840580601 -0.03606033639733702
Iteration: 5
Distance: 0.0989159611358434
Type 1 max euler error = 1.3438139490062895e-12
Type 4 max euler error = 1.333599897179738e-12
Type 5 max euler error = 1.9739765377835283e-12
Type 0 max euler error = 5.177802631095574e-13
Type 2 max euler error = 1.820904538263335e-12
Type 6 max euler error = 5.097589017566406e-13
Type 3 max euler error = 1.0703798958289212e-12
Maximum debt ratio: 11.856758427983111
r diff: 0.005400488769548462 -0.0020682964700282636
BQ diff: 0.0027534157984135943 -5.849879254844065e-05
TR diff: 0.00023903027745952876 -0.0023627072696816437
Y diff: 0.002655891971772517 -0.026252302996462806
Iteration: 6
Distance: 0.06761965324552562
Type 1 max euler error = 1.775191105224394e-12
Type 2 max euler error = 1.4390849623069357e-12
Type 0 max euler error = 1.3224976669334865e-12
Type 3 max euler error = 1.0902390101819037e-12
Type 4 max euler error = 1.1799450305716164e-12
Type 5 max euler error = 1.6195933483231784e-12
Type 6 max euler error = 4.4009240696141205e-13
Maximum debt ratio: 12.462734323558536
r diff: 0.003809594036366548 -0.0015637799140260783
BQ diff: 0.0019477840674798977 -4.525615042053066e-05
TR diff: 0.0001492937189152277 -0.0017055962561746824
Y diff: 0.0016588190990580731 -0.018951069513052088
Iteration: 7
Distance: 0.046915629778031466
Type 4 max euler error = 9.516831767086842e-13
Type 5 max euler error = 9.992007221626409e-13
Type 0 max euler error = 7.73159314348959e-13
Type 1 max euler error = 1.7044143874045403e-12
Type 3 max euler error = 1.2807532812075806e-12
Type 2 max euler error = 1.045122322018699e-12
Type 6 max euler error = 4.1655567883935873e-13
Maximum debt ratio: 12.926252711214804
r diff: 0.0026950586057517822 -0.001164074503180429
BQ diff: 0.0013775076532299493 -3.191447119712393e-05
TR diff: 9.261482329052384e-05 -0.0012219702033099342
Y diff: 0.001029053592117024 -0.01357744670344374
Iteration: 8
Distance: 0.03427347846950249
Type 6 max euler error = 4.198863479132342e-13
Type 5 max euler error = 1.0671463712697005e-12
Type 1 max euler error = 2.2160051571518125e-12
Type 0 max euler error = 4.800604358479177e-13
Type 2 max euler error = 8.992390165829534e-13
Type 3 max euler error = 1.9739765377835283e-12
Type 4 max euler error = 8.719691635405979e-13
Maximum debt ratio: 13.273205599488948
r diff: 0.0019013101495372053 -0.0009037712323221869
BQ diff: 0.0009658195587083779 -2.1397194424222638e-05
TR diff: 5.715242699515233e-05 -0.0008699878812080258
Y diff: 0.0006350269666128838 -0.00966653201342249
Iteration: 9
Distance: 0.024804685765317046
Type 3 max euler error = 1.1466383398328617e-12
Type 4 max euler error = 8.142375662600898e-13
Type 0 max euler error = 4.3298697960381105e-13
Type 5 max euler error = 1.1053380433168059e-12
Type 2 max euler error = 8.052031263972026e-13
Type 6 max euler error = 3.9745984281580604e-13
Type 1 max euler error = 1.0711986853095823e-12
Maximum debt ratio: 13.528193247556151
r diff: 0.0013341224787329076 -0.0007151832880517989
BQ diff: 0.0006823661953383742 -1.4024695171453022e-05
TR diff: 3.503297918221182e-05 -0.0006160464134649657
Y diff: 0.0003892553242467178 -0.006844960149610613
Iteration: 10
Distance: 0.017772535523112386
Type 6 max euler error = 7.296385717836529e-13
Type 3 max euler error = 1.4406253967536031e-12
Type 0 max euler error = 4.0101255649460654e-13
Type 4 max euler error = 7.558398351648066e-13
Type 1 max euler error = 1.1803891197814664e-12
Type 5 max euler error = 9.565681580170349e-13
Type 2 max euler error = 6.368933158640289e-13
Maximum debt ratio: 13.712813648679498
r diff: 0.0009309607925718222 -0.0005483459190749745
BQ diff: 0.00048594597077970814 -8.999768344664788e-06
TR diff: 2.1371748966700355e-05 -0.000434198906044507
Y diff: 0.00023746387740775088 -0.00482443228938334
Iteration: 11
Distance: 0.012631841320385702
Type 5 max euler error = 8.140155216551648e-13
Type 1 max euler error = 1.148414696672262e-12
Type 2 max euler error = 1.9262369477246466e-12
Type 6 max euler error = 4.924394225724882e-13
Type 3 max euler error = 1.2492229473082261e-12
Type 0 max euler error = 3.7991831902672857e-13
Type 4 max euler error = 6.825651155395462e-13
Maximum debt ratio: 13.844900875271334
r diff: 0.0006460003936265557 -0.00041094795785620586
BQ diff: 0.00034449013129042583 -8.757956414317397e-06
TR diff: 1.295807566484286e-05 -0.0003047477311202626
Y diff: 0.00014397861849824167 -0.0033860859013361555
Iteration: 12
Distance: 0.008918523239837134
Type 6 max euler error = 7.100986465502501e-13
Type 2 max euler error = 1.87871940227069e-12
Type 4 max euler error = 6.23945339839338e-13
Type 0 max euler error = 3.503863865716994e-13
Type 3 max euler error = 1.5654144647214707e-12
Type 5 max euler error = 7.354117315117037e-13
Type 1 max euler error = 1.057681719984771e-12
Maximum debt ratio: 13.938500341053176
r diff: 0.00044595162988306236 -0.0003026046859192083
BQ diff: 0.00024313675738165536 -8.986903318922157e-06
TR diff: 7.814487410134907e-06 -0.0002130719449797841
Y diff: 8.682763789036319e-05 -0.0023674660553308913
Iteration: 13
Distance: 0.006261637097290586
Type 0 max euler error = 3.383959779057477e-13
Type 1 max euler error = 1.1024237078771648e-12
Type 3 max euler error = 1.3029577417000837e-12
Type 2 max euler error = 1.850075648235361e-12
Type 6 max euler error = 6.836753385641714e-13
Type 5 max euler error = 7.149836278586008e-13
Type 4 max euler error = 7.558398351648066e-13
Maximum debt ratio: 14.004316759611068
r diff: 0.0003064293663672668 -0.00021970700158045753
BQ diff: 0.00017087076121906353 -7.839191102181758e-06
TR diff: 4.686959916011535e-06 -0.00014844642861010227
Y diff: 5.2077332399980136e-05 -0.0016494047623344943
Iteration: 14
Distance: 0.004375183562392951
Type 2 max euler error = 1.8314239014216582e-12
Type 6 max euler error = 6.690203946391193e-13
Type 3 max euler error = 9.904577158437178e-13
Type 1 max euler error = 1.8076928842702955e-12
Type 5 max euler error = 7.052136652418994e-13
Type 4 max euler error = 7.638334409421077e-13
Type 0 max euler error = 3.4150460237469815e-13
Maximum debt ratio: 14.050307168423307
r diff: 0.00020970236033679424 -0.00015768248095802961
BQ diff: 0.00011959013059994333 -6.309061978067992e-06
TR diff: 3.9342784614523896e-06 -0.00010308013702349517
Y diff: 4.3714205127165506e-05 -0.0011453348558166376
Iteration: 15
Distance: 0.0030442619760338734
distributed.utils_perf - WARNING - full garbage collections took 42% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 42% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 44% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
Type 0 max euler error = 3.3573144264664734e-13
Type 3 max euler error = 1.2683187833317788e-12
Type 6 max euler error = 6.696865284538944e-13
Type 4 max euler error = 7.7982065249671e-13
Type 2 max euler error = 1.8196555373606316e-12
Type 5 max euler error = 7.065459328714496e-13
Type 1 max euler error = 1.845579244985629e-12
Maximum debt ratio: 14.082277208452236
r diff: 0.0001429935480231348 -0.00011207988110310818
BQ diff: 8.33703247477835e-05 -4.834236534870251e-06
TR diff: 5.837820640883229e-06 -7.135598961317824e-05
Y diff: 6.486467378752359e-05 -0.0007928443290353138
Iteration: 16
Distance: 0.002110318664711824
Type 4 max euler error = 7.647216193618078e-13
Type 0 max euler error = 3.4861002973229915e-13
Type 6 max euler error = 6.641354133307686e-13
Type 1 max euler error = 1.740940724914708e-12
Type 2 max euler error = 2.2342683259068963e-12
Type 3 max euler error = 1.20570220474292e-12
Type 5 max euler error = 7.154277170684509e-13
Maximum debt ratio: 14.104404053522059
r diff: 9.720127750659224e-05 -7.90162131584643e-05
BQ diff: 5.790324761249105e-05 -3.594053896886079e-06
TR diff: 6.035241459222129e-06 -4.9251414806293636e-05
Y diff: 6.705823843577985e-05 -0.0005472379422921114
Iteration: 17
Distance: 0.0014580024273821888
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
Type 6 max euler error = 4.0312198024139434e-13
Type 1 max euler error = 1.6346646258824649e-12
Type 4 max euler error = 7.700506898800086e-13
Type 2 max euler error = 2.2117585540826212e-12
Type 5 max euler error = 7.052136652418994e-13
Type 3 max euler error = 1.085798118083403e-12
Type 0 max euler error = 3.468336728928989e-13
Maximum debt ratio: 14.119661181353221
r diff: 6.589527866193712e-05 -5.531711278224105e-05
BQ diff: 4.007408475890928e-05 -2.6147101010627616e-06
TR diff: 5.440552395631626e-06 -3.390146695845392e-05
Y diff: 6.0450582173632306e-05 -0.00037668296620507746
Iteration: 18
Distance: 0.0010042658502708226
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
Type 1 max euler error = 1.5535350783579815e-12
Type 6 max euler error = 3.971267759084185e-13
Type 2 max euler error = 2.201169801985259e-12
Type 4 max euler error = 7.682743330406083e-13
Type 5 max euler error = 7.083222897108499e-13
Type 3 max euler error = 9.947598300641403e-13
Type 0 max euler error = 3.490541189421492e-13
Maximum debt ratio: 14.130147412572958
r diff: 4.4568704893860334e-05 -3.849232489396004e-05
BQ diff: 2.764344203342456e-05 -1.8689423484929968e-06
TR diff: 4.557145721020839e-06 -2.327587595394448e-05
Y diff: 5.063495245571925e-05 -0.0002586208439327997
Iteration: 19
Distance: 0.0006898202121936439
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
Type 0 max euler error = 3.519406988061746e-13
Type 4 max euler error = 7.7982065249671e-13
Type 5 max euler error = 7.034373084024992e-13
Type 1 max euler error = 1.4938328352087638e-12
Type 3 max euler error = 9.705153347638884e-13
Type 6 max euler error = 3.963496197911809e-13
Type 2 max euler error = 2.187167114087174e-12
Maximum debt ratio: 14.13733415474887
r diff: 3.0084926114504196e-05 -2.664443455759058e-05
BQ diff: 1.9010294579034637e-05 -1.3213627363291292e-06
TR diff: 3.644720287312997e-06 -1.5942479339961513e-05
Y diff: 4.049689208113216e-05 -0.0001771386593329427
Iteration: 20
Distance: 0.0004726313914577222
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
Type 4 max euler error = 7.736034035588091e-13
Type 2 max euler error = 2.16922313445167e-12
Type 3 max euler error = 9.664213873605831e-13
Type 6 max euler error = 3.9246383920499284e-13
Type 1 max euler error = 1.4638290579682689e-12
Type 0 max euler error = 3.539391002504999e-13
Type 5 max euler error = 7.038813976123492e-13
Maximum debt ratio: 14.142247211935285
r diff: 2.0274285239402223e-05 -1.8359004175766414e-05
BQ diff: 1.3036290060906841e-05 -9.242178740515028e-07
TR diff: 2.823228572104708e-06 -1.0895344814770835e-05
Y diff: 3.13692063566573e-05 -0.00012105938683082407
Iteration: 21
Distance: 0.00032307340517764697
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
Type 2 max euler error = 2.1953827644694e-12
Type 1 max euler error = 1.4417911309294595e-12
Type 6 max euler error = 3.909095269705176e-13
Type 3 max euler error = 9.664491429361988e-13
Type 0 max euler error = 3.4927616354707425e-13
Type 4 max euler error = 7.815970093361102e-13
Type 5 max euler error = 6.976641486744484e-13
Maximum debt ratio: 14.145598385550116
r diff: 1.364395121525308e-05 -1.2599472790794652e-05
BQ diff: 8.916329407138157e-06 -6.417135256890638e-07
TR diff: 2.136008890409047e-06 -7.430752531338569e-06
Y diff: 2.3733432115646824e-05 -8.256391701488841e-05
Iteration: 22
Distance: 0.00022037221027630587
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 45% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 46% CPU time recently (threshold: 10%)
Type 2 max euler error = 2.18643159133336e-12
Type 4 max euler error = 6.479261571712414e-13
Type 1 max euler error = 1.434574681269396e-12
Type 0 max euler error = 3.523847880160247e-13
Type 5 max euler error = 7.029932191926491e-13
Type 3 max euler error = 9.701545122808852e-13
Type 6 max euler error = 3.8996583739958623e-13
Maximum debt ratio: 14.147879614311798
r diff: 9.171496528848078e-06 -8.616543062944793e-06
BQ diff: 6.083881497725985e-06 -4.4140505433068467e-07
TR diff: 1.5870666848979975e-06 -5.058257831307145e-06
Y diff: 1.7634074276684508e-05 -5.6202864792298524e-05
Iteration: 23
Distance: 0.00015002665523918316
Type 0 max euler error = 3.554934124849751e-13
Type 5 max euler error = 6.981082378842984e-13
Type 6 max euler error = 3.896327704921987e-13
Type 4 max euler error = 6.445954880973659e-13
Type 2 max euler error = 2.1944390748984688e-12
Type 1 max euler error = 1.4213907828519723e-12
Type 3 max euler error = 9.688361224391429e-13
Maximum debt ratio: 14.149429702824
r diff: 6.159442097419809e-06 -5.874632622068776e-06
BQ diff: 4.142189429422183e-06 -3.0307883438704386e-07
TR diff: 1.1623539525329463e-06 -3.4372658344258844e-06
Y diff: 1.2915043917038904e-05 -3.819184260483999e-05
Iteration: 24
Distance: 0.00010195536971510458
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
Type 5 max euler error = 7.069900220812997e-13
Type 4 max euler error = 6.417089082333405e-13
Type 3 max euler error = 9.683365220780615e-13
Type 6 max euler error = 3.8852254746757353e-13
Type 0 max euler error = 3.4994229736184934e-13
Type 2 max euler error = 2.1890544932290368e-12
Type 1 max euler error = 1.406680327775689e-12
Maximum debt ratio: 14.150481275616734
r diff: 4.133601627570593e-06 -3.994499161247278e-06
BQ diff: 2.814632145714535e-06 -2.0647713354707276e-07
TR diff: 8.413808809393242e-07 -2.3320330829398883e-06
Y diff: 9.34867645491222e-06 -2.5911478699403023e-05
Iteration: 25
Distance: 6.917540613023601e-05
Type 4 max euler error = 6.414868636284154e-13
Type 5 max euler error = 7.047695760320494e-13
Type 0 max euler error = 3.494982081519993e-13
Type 1 max euler error = 1.411010197571727e-12
Type 6 max euler error = 3.8902214782865485e-13
Type 3 max euler error = 9.696687897076117e-13
Type 2 max euler error = 2.1655038873191756e-12
Maximum debt ratio: 14.151193618949097
r diff: 2.772535230816109e-06 -2.7097303526429917e-06
BQ diff: 1.909146766031211e-06 -1.4036235891981552e-07
TR diff: 6.031455549657116e-07 -1.579896873118991e-06
Y diff: 6.701617277338201e-06 -1.755440970130362e-05
Iteration: 26
Distance: 4.6866154391072716e-05
distributed.utils_perf - WARNING - full garbage collections took 48% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 48% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 47% CPU time recently (threshold: 10%)
Type 2 max euler error = 2.1795620863684917e-12
Type 4 max euler error = 7.633893517322576e-13
Type 0 max euler error = 3.5860203695392556e-13
Type 5 max euler error = 7.074341112911497e-13
Type 1 max euler error = 1.4104550860594145e-12
Type 6 max euler error = 3.8863356977003605e-13
Type 3 max euler error = 9.737349815353014e-13
Maximum debt ratio: 14.151675536281164
r diff: 1.8588865953461653e-06 -1.8344422743205024e-06
BQ diff: 1.292891053494838e-06 -9.508413949255168e-08
TR diff: 4.2883543573818406e-07 -1.0689457324367102e-06
Y diff: 4.764838174853292e-06 -1.1877174804775237e-05
Iteration: 27
Distance: 3.170993983276113e-05
Type 0 max euler error = 3.5771385853422544e-13
Type 1 max euler error = 1.4034884365798916e-12
Type 5 max euler error = 7.074341112911497e-13
Type 4 max euler error = 6.470379787515412e-13
Type 2 max euler error = 2.190983505734323e-12
Type 6 max euler error = 3.8929970358481114e-13
Type 3 max euler error = 9.704459458248493e-13
Maximum debt ratio: 14.152001185345236
r diff: 1.245988419773525e-06 -1.239694151708437e-06
BQ diff: 8.743067679770067e-07 -6.406117730728411e-08
TR diff: 3.027757708717882e-07 -7.223924323382369e-07
Y diff: 3.364175231834743e-06 -8.026582581532882e-06
Iteration: 28
Distance: 2.1429851051055337e-05
distributed.utils_perf - WARNING - full garbage collections took 49% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 49% CPU time recently (threshold: 10%)
distributed.utils_perf - WARNING - full garbage collections took 49% CPU time recently (threshold: 10%)
Type 0 max euler error = 3.519406988061746e-13
Type 1 max euler error = 1.4097334410934081e-12
Type 2 max euler error = 2.181782532417742e-12
Type 3 max euler error = 9.69654911919804e-13
Type 5 max euler error = 6.967759702547482e-13
Type 4 max euler error = 6.479261571712414e-13
Type 6 max euler error = 3.8846703631634227e-13
Maximum debt ratio: 14.152221010714909
r diff: 8.350467005646678e-07 -8.364959173806641e-07
BQ diff: 5.904930890227034e-07 -4.301349075183647e-08
TR diff: 2.1248791978040193e-07 -4.876814536369789e-07
Y diff: 2.3609768864396585e-06 -5.418682818170151e-06
Iteration: 29
Distance: 1.4467263555976682e-05
distributed.utils_perf - WARNING - full garbage collections took 50% CPU time recently (threshold: 10%)
Type 0 max euler error = 3.468336728928989e-13
Type 2 max euler error = 2.174219138062483e-12
Type 3 max euler error = 9.690304114684523e-13
Type 6 max euler error = 3.8957725934096743e-13
Type 1 max euler error = 1.401823102042954e-12
Type 4 max euler error = 6.403766406037903e-13
Type 5 max euler error = 7.016609515630989e-13
Maximum debt ratio: 14.152369265650716
r diff: 5.596114543704456e-07 -5.636992716079314e-07
BQ diff: 3.983640365148866e-07 -2.889185243479253e-08
TR diff: 1.4834565745941442e-07 -3.2892496392572523e-07
Y diff: 1.6482850828669626e-06 -3.654721821400031e-06
Iteration: 30
Distance: 9.757752860083525e-06
Max absolute value resource constraint error: 5.217018735348411e-06
Checking time path for violations of constraints.
Max Euler error, savings: [1.79367632e-12 4.50445237e-13 5.83560977e-13 7.59392549e-13
7.72493181e-13 7.26113614e-13 1.02809428e-12 5.19598253e-13
5.50809398e-13 4.89830398e-13 4.72233364e-13 4.78672657e-13
5.04957187e-13 5.72347725e-13 1.34683931e-12 7.06601444e-13
6.04905015e-13 1.40182310e-12 8.67639294e-13 7.41184891e-13
7.17204074e-13 5.69669312e-13 4.96602759e-13 4.81281681e-13
5.12145881e-13 5.48117107e-13 5.63438185e-13 5.79980508e-13
5.68461944e-13 1.72285797e-12 1.74743553e-12 7.19146964e-13
7.68954345e-13 8.10837508e-13 8.53164761e-13 8.91509089e-13
9.23802701e-13 9.63687463e-13 9.69030411e-13 9.66060565e-13
9.60176383e-13 9.60370672e-13 9.37985800e-13 9.25662325e-13
9.21415721e-13 9.06733022e-13 8.88400464e-13 8.81641982e-13
8.63503713e-13 8.46656079e-13 8.32958702e-13 8.24923463e-13
8.20427060e-13 8.16124945e-13 8.16388623e-13 8.24368351e-13
8.28420665e-13 8.34998737e-13 8.47655279e-13 8.50416959e-13
8.63698002e-13 8.76826389e-13 8.85749807e-13 8.94492813e-13
8.97795727e-13 9.07787734e-13 9.08842446e-13 9.10771458e-13
9.07968145e-13 9.13089049e-13 9.18431997e-13 9.11729026e-13
9.12214748e-13 9.10563291e-13 9.05511777e-13 8.96435703e-13
8.93257690e-13 8.87637186e-13 8.86860030e-13 8.78810913e-13
8.76618222e-13 8.74911255e-13 8.75535755e-13 8.74564310e-13
8.70081784e-13 8.70636896e-13 8.73842665e-13 8.64613936e-13
8.77062312e-13 8.73301431e-13 8.72579786e-13 8.69748717e-13
8.75674533e-13 8.71802630e-13 8.71774875e-13 8.70248318e-13
8.75022277e-13 8.74897377e-13 8.82516282e-13 8.80434614e-13
8.80212569e-13 8.82613427e-13 8.76312911e-13 8.82433016e-13
8.86943297e-13 8.83265683e-13 8.88636387e-13 8.84403661e-13
8.88816798e-13 8.88109031e-13 8.80920337e-13 8.92314000e-13
8.85638785e-13 8.87540041e-13 8.83570994e-13 8.80448492e-13
8.84126106e-13 8.87359630e-13 8.80948092e-13 8.79893380e-13
8.80448492e-13 8.74633699e-13 8.88109031e-13 8.82099949e-13
8.80892581e-13 8.80615025e-13 8.82224849e-13 8.85805318e-13
8.79754603e-13 8.78380702e-13 8.82918738e-13 8.80115425e-13
8.76035355e-13 8.75979844e-13 8.76979045e-13 8.79615825e-13
8.74494921e-13 8.85055917e-13 8.80823192e-13 8.74911255e-13
8.82627305e-13 8.77048434e-13 8.77714568e-13 8.88913942e-13
8.76146378e-13 8.76493322e-13 8.73912054e-13 8.75813311e-13
8.80004403e-13 8.77159456e-13 8.80934214e-13 8.75091666e-13
8.75827189e-13 8.82946494e-13 8.78769280e-13 8.76562711e-13
8.75868822e-13 8.76104744e-13 8.81683615e-13 8.78117024e-13
8.78450090e-13 8.85014284e-13 8.77381501e-13 8.77006801e-13
8.79935014e-13 8.83251805e-13 8.77520279e-13 8.83029760e-13
8.83321194e-13 8.79740725e-13 8.74411654e-13 8.76188011e-13
8.80670536e-13 8.80115425e-13 8.79685214e-13 8.77575790e-13
8.80878703e-13 8.80254203e-13 8.78297435e-13 8.78602746e-13
8.76493322e-13 8.82863227e-13 8.78283557e-13 8.80517881e-13
8.85638785e-13 8.85042040e-13 8.84861628e-13 8.79449291e-13
8.79213369e-13 8.78033757e-13 8.81100748e-13 8.84722851e-13
8.88109031e-13 8.83723650e-13 8.80864826e-13 8.79699091e-13
8.82127704e-13 8.73648376e-13 8.83307316e-13 8.82599549e-13
8.83335072e-13 8.83029760e-13 8.73578987e-13 8.78117024e-13
8.69249117e-13 8.75563511e-13 8.84334272e-13 8.81933415e-13
8.89177620e-13 8.83598750e-13 8.72177330e-13 8.83668139e-13
8.77006801e-13 8.78047635e-13 8.81572593e-13 8.82044437e-13
8.83598750e-13 8.79379902e-13 8.74425532e-13 8.83432216e-13
8.76895778e-13 8.81864026e-13 8.82557916e-13 8.81683615e-13
8.85236329e-13 8.77811712e-13 8.80698292e-13 8.77492523e-13
8.78644379e-13 8.78588868e-13 8.81211770e-13 8.85194695e-13
8.77353745e-13 8.86346552e-13 8.75147177e-13 8.81072992e-13
8.84931017e-13 8.80670536e-13 8.80115425e-13 8.84875506e-13
8.84112228e-13 8.79740725e-13 8.76368422e-13 8.76521078e-13
8.83362827e-13 8.82849349e-13 8.79046835e-13 8.73537354e-13
8.76562711e-13 8.86596352e-13 8.79865625e-13 8.84597950e-13
8.80295836e-13 8.83432216e-13 8.78935813e-13 8.81031359e-13
8.82571793e-13 8.79574191e-13 8.79518680e-13 8.74786354e-13
8.84681217e-13 8.83487727e-13 8.79227247e-13 8.82904860e-13
8.84209372e-13 8.78935813e-13 8.79352147e-13 8.79019080e-13
8.82169338e-13 8.73204287e-13 8.80032158e-13 8.77076189e-13
8.83834672e-13 8.79893380e-13 8.76312911e-13 8.80420736e-13
8.78852546e-13 8.84139983e-13 8.74383899e-13 8.77575790e-13
8.84639584e-13 8.76840267e-13 8.84528562e-13 8.79865625e-13
8.78838669e-13 8.83973450e-13 8.81031359e-13 8.87054319e-13
8.79213369e-13 8.86929419e-13 8.74064709e-13 8.81544837e-13
8.76396178e-13 8.81655859e-13 8.70969963e-13 8.82294238e-13
8.84931017e-13 8.77478645e-13 8.85569396e-13 8.87609430e-13
8.81836271e-13 8.78283557e-13 8.75702288e-13 8.77894979e-13
8.81170137e-13 8.79921136e-13 8.82890983e-13 8.77228845e-13
8.77561912e-13 8.80753803e-13 8.80004403e-13 8.84264884e-13
8.70969963e-13 8.78713768e-13 8.82335871e-13 8.84986529e-13
8.75327588e-13 8.76923534e-13 8.88442098e-13 8.82113826e-13]
Max Euler error labor supply: [5.71098724e-13 4.28990177e-13 3.26849658e-13 4.34763336e-13
5.52002888e-13 4.18776125e-13 4.01012556e-13 4.83169060e-13
5.55555602e-13 4.84945417e-13 4.62296867e-13 4.53859172e-13
4.84945417e-13 5.56443780e-13 1.07247544e-12 6.66577904e-13
7.01660952e-13 5.37347944e-13 4.05897538e-13 2.59348099e-13
2.69562150e-13 5.71542813e-13 6.04849504e-13 5.96411809e-13
6.01740879e-13 5.93303184e-13 5.92415006e-13 5.93303184e-13
6.01740879e-13 1.03250741e-12 1.02762243e-12 6.61692923e-13
7.22533144e-13 7.72715225e-13 8.10906897e-13 8.50874926e-13
8.88178420e-13 9.27258270e-13 9.30366895e-13 9.26814181e-13
9.16600129e-13 9.09494702e-13 8.77964368e-13 8.65973959e-13
8.56203997e-13 8.28670466e-13 8.12683254e-13 7.94475596e-13
7.69162511e-13 7.42517159e-13 7.25197680e-13 7.18092252e-13
7.10986825e-13 7.08322290e-13 7.07878201e-13 7.17204074e-13
7.32303107e-13 7.42961248e-13 7.59836638e-13 7.69606601e-13
7.83373366e-13 7.99804667e-13 8.21120949e-13 8.25561841e-13
8.34887715e-13 8.47766302e-13 8.45989945e-13 8.51319015e-13
8.46878123e-13 8.51319015e-13 8.57092175e-13 8.50874926e-13
8.44657677e-13 8.41549053e-13 8.38884517e-13 8.26005930e-13
8.25561841e-13 8.13571432e-13 8.12683254e-13 8.06021916e-13
7.97140132e-13 7.99360578e-13 8.03357381e-13 8.00248756e-13
7.94919686e-13 7.94031507e-13 7.95807864e-13 7.91811061e-13
8.02025113e-13 7.98916489e-13 7.97140132e-13 7.94475596e-13
8.03801470e-13 8.02025113e-13 7.98472399e-13 8.02469202e-13
8.04689648e-13 8.06910094e-13 8.06910094e-13 8.07798273e-13
8.07354184e-13 8.06910094e-13 8.07354184e-13 8.06466005e-13
8.12683254e-13 8.15347789e-13 8.16235968e-13 8.12239165e-13
8.13127343e-13 8.10906897e-13 8.08242362e-13 8.15791878e-13
8.13127343e-13 8.12239165e-13 8.17568235e-13 8.06021916e-13
8.12683254e-13 8.17568235e-13 8.04689648e-13 8.09574630e-13
8.04245559e-13 8.05577827e-13 8.12239165e-13 8.09130540e-13
8.06466005e-13 8.06466005e-13 8.10018719e-13 8.12683254e-13
8.08242362e-13 8.04245559e-13 8.09574630e-13 8.06021916e-13
8.01581024e-13 8.05577827e-13 8.02469202e-13 8.07354184e-13
8.03801470e-13 8.08686451e-13 8.07354184e-13 8.03801470e-13
8.09130540e-13 8.02469202e-13 8.08242362e-13 8.11795076e-13
8.03801470e-13 8.07354184e-13 8.06021916e-13 8.02469202e-13
8.10462808e-13 8.04245559e-13 8.07354184e-13 8.03357381e-13
7.98916489e-13 8.09130540e-13 8.06466005e-13 8.06466005e-13
8.06910094e-13 8.04245559e-13 8.07798273e-13 8.04245559e-13
8.11795076e-13 8.07354184e-13 8.06466005e-13 8.06910094e-13
8.06466005e-13 8.09574630e-13 8.05577827e-13 8.11350986e-13
8.10018719e-13 8.10462808e-13 8.07798273e-13 8.08686451e-13
8.07798273e-13 8.10906897e-13 8.05133737e-13 8.03357381e-13
8.05577827e-13 8.08242362e-13 8.02025113e-13 8.02469202e-13
8.03357381e-13 8.06021916e-13 8.03357381e-13 8.09574630e-13
8.11795076e-13 8.14459611e-13 8.14459611e-13 8.06910094e-13
8.05133737e-13 8.10018719e-13 8.06910094e-13 8.09130540e-13
8.14015522e-13 8.12683254e-13 8.09574630e-13 8.06466005e-13
8.05133737e-13 8.02025113e-13 8.08242362e-13 8.09130540e-13
8.07354184e-13 8.05133737e-13 8.05133737e-13 8.05133737e-13
7.98916489e-13 8.05133737e-13 8.08242362e-13 8.07798273e-13
8.15347789e-13 8.10018719e-13 7.98916489e-13 8.09574630e-13
8.01136935e-13 8.05133737e-13 8.04689648e-13 8.07354184e-13
8.10906897e-13 8.06910094e-13 8.02469202e-13 8.05577827e-13
8.04245559e-13 8.06910094e-13 8.08242362e-13 8.06910094e-13
8.13127343e-13 8.03801470e-13 8.11350986e-13 8.05133737e-13
8.04689648e-13 8.06910094e-13 8.12683254e-13 8.14903700e-13
8.03801470e-13 8.13127343e-13 8.06466005e-13 8.06910094e-13
8.09574630e-13 8.08686451e-13 8.09574630e-13 8.10906897e-13
8.10462808e-13 8.06466005e-13 8.04245559e-13 8.05133737e-13
8.10462808e-13 8.08686451e-13 8.07798273e-13 8.06466005e-13
8.06021916e-13 8.12683254e-13 8.10906897e-13 8.10462808e-13
8.06466005e-13 8.05577827e-13 8.05577827e-13 8.10462808e-13
8.11795076e-13 8.10906897e-13 8.05577827e-13 8.02025113e-13
8.06910094e-13 8.07798273e-13 8.11350986e-13 8.11795076e-13
8.10018719e-13 8.02913291e-13 8.06466005e-13 8.06021916e-13
8.06466005e-13 7.99804667e-13 8.05133737e-13 8.04689648e-13
8.11350986e-13 8.03801470e-13 8.03801470e-13 8.08686451e-13
8.06466005e-13 8.10462808e-13 8.00692845e-13 8.05133737e-13
8.10462808e-13 8.06466005e-13 8.10462808e-13 8.08242362e-13
8.00692845e-13 8.05133737e-13 8.06021916e-13 8.14903700e-13
8.09574630e-13 8.12683254e-13 8.04689648e-13 8.10018719e-13
8.04245559e-13 8.07354184e-13 8.05577827e-13 8.08686451e-13
8.12239165e-13 8.06021916e-13 8.10018719e-13 8.09574630e-13
8.05133737e-13 8.03357381e-13 8.08242362e-13 8.05133737e-13
8.09130540e-13 8.09130540e-13 8.12239165e-13 8.08686451e-13
8.06021916e-13 8.10462808e-13 8.06021916e-13 8.05133737e-13
8.00692845e-13 8.04689648e-13 8.05577827e-13 8.09130540e-13
8.02913291e-13 8.07354184e-13 8.15347789e-13 8.06910094e-13]
Time path iteration complete.
It took 7057.823023557663 seconds to get that part done.
run time = 7057.8255915641785
Using reform policy tax parameters from /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_REFORM/TxFuncEst_policy.pkl
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
Baseline policy is: <class 'openfisca_tools.reforms.tax.income_tax.rates.uk[0].rate'>
BW = 6 begin year = 2018 end year = 2023
year= 2019 age= all ages
year= 2021 age= all ages
year= 2023 age= all ages
year= 2018 age= all ages
year= 2020 age= all ages
year= 2022 age= all ages
Finished tax function loop through 6 years and 1 ages per year.
Tax function estimation time: 46.325 sec
making dir: /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_REFORM/SS
making dir: /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_REFORM/TPI
In runner, baseline is False
1.0162508487701416
GE loop errors = 0.0024519392122251266 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576493937498
0.8752915859222412
GE loop errors = 0.0024519392122251543 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576493937636
0.840200662612915
GE loop errors = 0.0024519392122251543 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576493937636
0.8706462383270264
GE loop errors = 0.0024519380331421634 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772575795600693
1.1469244956970215
GE loop errors = 0.002451939167233408 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.001477257645923151
0.8297896385192871
GE loop errors = 0.002451939153828367 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576482105296
0.8053936958312988
GE loop errors = 0.002451939156708452 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576521368541
0.8789238929748535
GE loop errors = 0.002451939181286375 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576522107186
0.8547577857971191
GE loop errors = 0.002451939176512069 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.001477257653624206
0.8468003273010254
GE loop errors = 0.002451939172438508 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576556389624
0.8542311191558838
GE loop errors = 0.0024519392049201644 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772576511078786
2.2338645458221436
GE loop errors = 0.0024519394056518734 [-0.00050099 -0.00082106 -0.00106126 -0.00068316 -0.00081225 -0.00090587
-0.00017377] -0.0014772586406419236
0.921414852142334
GE loop errors = -1.727844615315166e-06 [1.26049597e-05 1.23993630e-05 7.08165984e-06 2.54227160e-06
2.20185725e-06 3.55281971e-06 7.54634118e-07] 2.8483513540705774e-06
1.2664682865142822
GE loop errors = 1.336109319710621e-08 [ 4.58798410e-08 3.37910748e-08 3.66449037e-09 -3.04448762e-09
-4.40109008e-09 -4.15091992e-09 -8.28785970e-10] -4.766074930551145e-09
1.1452500820159912
GE loop errors = -2.912017849077131e-12 [ 1.94268972e-10 1.25361551e-10 1.13163749e-11 -1.55752147e-13
1.06267425e-12 1.05212367e-12 4.49385754e-13] 3.670434095548458e-11
2.616745710372925
GE loop errors = -1.9421270147645942e-13 [-1.47912932e-13 -3.18179511e-13 -2.01727524e-13 -3.53900936e-14
-1.79509185e-14 -4.82877627e-14 -1.00249670e-14] -7.91033905045424e-15
1.739415168762207
GE loop errors = 2.1510571102112408e-16 [-6.93889390e-17 -1.83880688e-15 -1.55778168e-15 -4.14598911e-16
-3.26128013e-16 -5.30825384e-16 -1.03649728e-16] 3.469446951953614e-17
0.8898017406463623
Iteration: 01 Distance: 3.7168766626030954e-14
Foreign debt holdings = 0.5208529157511035
Foreign capital holdings = 0.03817090312304201
resource constraint: -2.4390212072233908e-14
Steady state government spending is negative to satisfy budget
Checking constraints on capital, labor, and consumption.
There were no violations of the constraints on labor supply.
There were no violations of the constraints on consumption.
Maximum error in labor FOC = 6.217248937900877e-15
Maximum error in savings FOC = 1.1657341758564144e-14
JUST SAVED SS output to /home/nikhil/PSLmodels/OG-UK/examples/OG-UK-Example/OUTPUT_REFORM/SS/SS_vars.pkl
Government spending breakpoints are tG1: 20 ; and tG2: 256
Type 6 max euler error = 8.002487561498128e-13
Type 1 max euler error = 1.1439738045737613e-12
Type 2 max euler error = 2.3729074261069627e-12
Type 0 max euler error = 9.441336601412331e-13
Type 3 max euler error = 1.97117322464635e-12
Type 5 max euler error = 2.4380497620768438e-12
Type 4 max euler error = 1.4562240302495866e-12
Maximum debt ratio: 5.202199292514044
r diff: 0.03760333208581369 -0.006979722592634775
BQ diff: 0.004422047581058998 -0.00018842302759929097
TR diff: 0.0017620372540149143 -0.007585200273494762
Y diff: 0.019578191711276838 -0.08428000303883076
Iteration: 1
Distance: 0.5070480575930164
Type 2 max euler error = 2.3605839505336235e-12
Type 0 max euler error = 5.31574784190525e-13
Type 3 max euler error = 1.7405105134926657e-12
Type 4 max euler error = 1.98596694644948e-12
Type 1 max euler error = 2.0843882175825e-12
Type 6 max euler error = 1.3136158827364852e-12
Type 5 max euler error = 2.1747048606357566e-12
Maximum debt ratio: 6.593870647004831
r diff: 0.027359405345745005 -0.0038909497418652544
BQ diff: 0.005192624298463847 -0.00011526422517327273
TR diff: 0.0013609129944873524 -0.00665057070999437
Y diff: 0.015121255494303876 -0.07389523011104854
Iteration: 2
Distance: 0.2960946346871013
Type 6 max euler error = 1.0609291223317996e-12
Type 0 max euler error = 7.494005416219807e-13
Type 4 max euler error = 1.9757528946229286e-12
Type 1 max euler error = 2.0050627824730327e-12
Type 3 max euler error = 1.791275461293651e-12
Type 2 max euler error = 2.3571977703085167e-12
Type 5 max euler error = 1.8425261316679098e-12
Maximum debt ratio: 7.628905829598988
r diff: 0.013100494554335596 -0.0021949155080375066
BQ diff: 0.0053645114148579975 -9.35175275336396e-05
TR diff: 0.0009205092857605263 -0.0046629368404683125
Y diff: 0.010227880952894619 -0.051810409338536756
Iteration: 3
Distance: 0.16975597971977718
Type 0 max euler error = 4.4700354528970365e-13
Type 6 max euler error = 1.1044498648971057e-12
Type 2 max euler error = 1.6134316105365087e-12
Type 4 max euler error = 1.7013057629355899e-12
Type 3 max euler error = 1.1640272079560532e-12
Type 1 max euler error = 1.8844925619987407e-12
Type 5 max euler error = 1.4619416788264061e-12
Maximum debt ratio: 8.344176168825383
r diff: 0.0064901768299989865 -0.002395159313806662
BQ diff: 0.004101146562833363 -7.608010267756704e-05
TR diff: 0.0005970722805506493 -0.003248373309605916
Y diff: 0.0066341364505626554 -0.036093036773399034
Iteration: 4
Distance: 0.11919107619355958
Type 6 max euler error = 7.59170504238682e-13
Type 4 max euler error = 1.929789661403447e-12
Type 1 max euler error = 1.6560086635308835e-12
Type 5 max euler error = 3.0482283364108298e-12
Type 3 max euler error = 9.274248036206245e-13
Type 2 max euler error = 2.080280392391387e-12
Type 0 max euler error = 6.518119377574294e-13
Maximum debt ratio: 8.862926466122758
r diff: 0.0035847875120944145 -0.0018970060195255684
BQ diff: 0.0027960051841591574 -8.358856987968066e-05
TR diff: 0.0003812647828235899 -0.0022714786563619374
Y diff: 0.004236275364706499 -0.02523865173735479
Iteration: 5
Distance: 0.07754385400219567
Type 4 max euler error = 1.6835421945415874e-12
Type 3 max euler error = 1.9313162180623067e-12
Type 6 max euler error = 6.45261621912141e-13
Type 0 max euler error = 4.636291350834654e-13
Type 5 max euler error = 2.899458451111059e-12
Type 1 max euler error = 1.3218315331187114e-12
Type 2 max euler error = 1.5740186931623157e-12
Maximum debt ratio: 9.241219473808433
r diff: 0.00213928170032672 -0.0013171721156429728
BQ diff: 0.0018583131826757637 -7.295243317580538e-05
TR diff: 0.00024166915429826158 -0.0015791236551396387
Y diff: 0.002685212825536243 -0.017545818390440338
Iteration: 6
Distance: 0.050076829869381834
Type 5 max euler error = 2.1813661987835076e-12
Type 4 max euler error = 7.913669719528116e-13
Type 1 max euler error = 1.7295054277610689e-12
Type 0 max euler error = 1.3993251002375473e-12
Type 3 max euler error = 2.066305460068918e-12
Type 2 max euler error = 1.1908529717885585e-12
Type 6 max euler error = 5.990763440877345e-13
Maximum debt ratio: 9.513682218248114
r diff: 0.0013319984946577046 -0.0008749384556432649
BQ diff: 0.001225971179672769 -5.567980280202223e-05
TR diff: 0.0001524901052487801 -0.0010879906854560084
Y diff: 0.0016943345027642387 -0.012088785393955581
Iteration: 7
Distance: 0.032302685327824446
Type 0 max euler error = 1.3893330930159209e-12
Type 1 max euler error = 1.6293633109398797e-12
Type 5 max euler error = 1.1382006448457105e-12
Type 6 max euler error = 5.917488721252084e-13
Type 3 max euler error = 1.998304299810627e-12
Type 2 max euler error = 1.0905720770892913e-12
Type 4 max euler error = 8.175682353339653e-13
Maximum debt ratio: 9.706642116482367
r diff: 0.0008473119655295208 -0.0005750050399119938
BQ diff: 0.0008036134744179024 -4.005851234248001e-05
TR diff: 9.771652942534848e-05 -0.0007431150518906957
Y diff: 0.0010857392158371004 -0.008256833909896566
Iteration: 8
Distance: 0.021109092118104925
Type 5 max euler error = 8.246736626915663e-13
Type 4 max euler error = 1.007194327939942e-12
Type 1 max euler error = 1.4392376179728217e-12
Type 0 max euler error = 1.0274003869881199e-12
Type 3 max euler error = 1.7058299217609374e-12
Type 6 max euler error = 6.710743072346759e-13
Type 2 max euler error = 1.067562704903935e-12
Maximum debt ratio: 9.841115433145164
r diff: 0.0005444473418290546 -0.0003743609112781682
BQ diff: 0.0005292987538692076 -2.8192517015270674e-05
TR diff: 6.295034075771977e-05 -0.0005037335609995516
Y diff: 0.0006994482306412753 -0.005597039566661632
Iteration: 9
Distance: 0.013760924431713832
Type 3 max euler error = 1.608171928957347e-12
Type 0 max euler error = 8.577027976741647e-13
Type 1 max euler error = 1.7839063559677015e-12
Type 6 max euler error = 5.722644580430369e-13
Type 2 max euler error = 9.393874567109606e-13
Type 4 max euler error = 9.476863738200336e-13
Type 5 max euler error = 7.065459328714496e-13
Maximum debt ratio: 9.93354838939343
r diff: 0.00035118847951116916 -0.00024868942479722156
BQ diff: 0.0003469791008238396 -1.8869054833607624e-05
TR diff: 4.028860371560472e-05 -0.00033927328722219846
Y diff: 0.000447651152395645 -0.0037697031913577206
Iteration: 10
Distance: 0.008958055029589896
Type 5 max euler error = 6.80788758700146e-13
Type 3 max euler error = 1.5378948114985747e-12
Type 0 max euler error = 7.757405828812125e-13
Type 2 max euler error = 1.579375519256132e-12
Type 6 max euler error = 5.203060204905796e-13
Type 4 max euler error = 9.494627306594339e-13
Type 1 max euler error = 2.787325925623918e-12
Maximum debt ratio: 9.9963706387738
r diff: 0.00022663817230456074 -0.0001638808086806276
BQ diff: 0.00022672531987969619 -1.1965697945374304e-05
TR diff: 2.5631907140083454e-05 -0.00022725367067587265
Y diff: 0.00028479896822319883 -0.0025250407852874246
Iteration: 11
Distance: 0.00588287598036045
Type 5 max euler error = 6.772360450213455e-13
Type 2 max euler error = 1.5397960684282452e-12
Type 1 max euler error = 2.9141411506117265e-12
Type 6 max euler error = 5.724309914967307e-13
Type 4 max euler error = 6.612488334667432e-13
Type 3 max euler error = 1.4995921171490068e-12
Type 0 max euler error = 7.44737604918555e-13
Maximum debt ratio: 10.03868728559584
r diff: 0.0001461703050937846 -0.00010746551090830281
BQ diff: 0.00014778599925579367 -1.0276326928126966e-05
TR diff: 1.6251702843639304e-05 -0.00015151164480450147
Y diff: 0.00018057447604047372 -0.0016834627200499885
Iteration: 12
Distance: 0.003889052953678177
Type 1 max euler error = 2.880223837209428e-12
Type 0 max euler error = 7.192024753521764e-13
Type 2 max euler error = 1.5477619186299307e-12
Type 5 max euler error = 6.683542608243442e-13
Type 4 max euler error = 6.625811010962934e-13
Type 3 max euler error = 1.4782203239249725e-12
Type 6 max euler error = 5.582201367815287e-13
Maximum debt ratio: 10.066986053978818
r diff: 9.407084711945957e-05 -7.029099739207234e-05
BQ diff: 9.750009811631405e-05 -9.566146901396344e-06
TR diff: 1.0245330688565812e-05 -0.0001005973914614891
Y diff: 0.0001138370076506634 -0.0011177487940166042
Iteration: 13
Distance: 0.002575051787925343
Type 0 max euler error = 7.198686091669515e-13
Type 3 max euler error = 1.4696716066353588e-12
Type 6 max euler error = 5.537792446830281e-13
Type 2 max euler error = 1.5301926392652376e-12
Type 1 max euler error = 2.84477996714827e-12
Type 4 max euler error = 6.799005802804459e-13
Type 5 max euler error = 6.648015471455437e-13
Maximum debt ratio: 10.085796971060217
r diff: 6.037526270867566e-05 -4.6487669647085617e-05
BQ diff: 6.438417440873118e-05 -7.872512152558991e-06
TR diff: 6.431929381198187e-06 -6.654608321130656e-05
Y diff: 7.146588201312198e-05 -0.0007394009245700883
Iteration: 14
Distance: 0.0017053566455428506
Type 0 max euler error = 7.100986465502501e-13
Type 6 max euler error = 5.433431482515516e-13
Type 3 max euler error = 1.4529627501147502e-12
Type 1 max euler error = 2.8419488984354757e-12
Type 2 max euler error = 2.3463730958184215e-12
Type 5 max euler error = 6.621370118864434e-13
Type 4 max euler error = 6.932232565759477e-13
Maximum debt ratio: 10.098239226076688
r diff: 3.8637891061080176e-05 -3.1481448710860005e-05
BQ diff: 4.242643378062072e-05 -6.05502563382973e-06
TR diff: 4.023094179156361e-06 -4.387413345228325e-05
Y diff: 4.470104643494732e-05 -0.00048749037169204534
Iteration: 15
Distance: 0.0011251927511777855
Type 3 max euler error = 1.4534068393246002e-12
Type 1 max euler error = 2.814026789366153e-12
Type 0 max euler error = 7.220890552162018e-13
Type 5 max euler error = 6.497025140106416e-13
Type 2 max euler error = 2.3498980539216063e-12
Type 6 max euler error = 5.313527395855999e-13
Type 4 max euler error = 7.203126983768016e-13
Maximum debt ratio: 10.106434442574818
r diff: 2.4651157165392346e-05 -2.1184058729292743e-05
BQ diff: 2.7898123905904793e-05 -4.466997612653789e-06
TR diff: 2.506992754294779e-06 -2.8837639100484647e-05
Y diff: 2.7855475047577904e-05 -0.00032041821222755784
Iteration: 16
Distance: 0.0007399327599167081
Type 3 max euler error = 1.4423184868661565e-12
Type 1 max euler error = 2.8192170820062756e-12
Type 2 max euler error = 2.349481720287372e-12
Type 0 max euler error = 7.218670106112768e-13
Type 5 max euler error = 6.532552276894421e-13
Type 4 max euler error = 7.402967128200544e-13
Type 6 max euler error = 5.286882043264995e-13
Maximum debt ratio: 10.111812480651997
r diff: 1.5678319715037303e-05 -1.4176764074697035e-05
BQ diff: 1.8305103977468706e-05 -3.2077450584644396e-06
TR diff: 1.5571708923411975e-06 -1.8900214012532168e-05
Y diff: 1.7301898803556703e-05 -0.0002100023779169069
Iteration: 17
Distance: 0.0004851094179031771
Type 0 max euler error = 7.114309141798003e-13
Type 2 max euler error = 2.34365304940809e-12
Type 3 max euler error = 1.4365869605015291e-12
Type 5 max euler error = 6.581402089977928e-13
Type 4 max euler error = 7.629452625224076e-13
Type 1 max euler error = 2.813499433429456e-12
Type 6 max euler error = 5.306866057708248e-13
Maximum debt ratio: 10.115330270714214
r diff: 9.940243259259907e-06 -9.441159595613424e-06
BQ diff: 1.1984317647012466e-05 -2.2534995377902767e-06
TR diff: 9.643154832289502e-07 -1.2353862166719631e-05
Y diff: 1.0714616480278494e-05 -0.000137265135185749
Iteration: 18
Distance: 0.00031715207052722654
Type 2 max euler error = 2.3506196988876127e-12
Type 1 max euler error = 2.808947519028493e-12
Type 0 max euler error = 7.147615832536758e-13
Type 3 max euler error = 1.4346995813596664e-12
Type 4 max euler error = 7.767120280277595e-13
Type 6 max euler error = 5.311306949806749e-13
Type 5 max euler error = 6.492584248007915e-13
Maximum debt ratio: 10.117624468016947
r diff: 6.282462172477188e-06 -6.259774935860052e-06
BQ diff: 7.828666053963373e-06 -1.5555783219912966e-06
TR diff: 5.955272350949281e-07 -8.054273627731978e-06
Y diff: 6.616969278949725e-06 -8.949192919693871e-05
Iteration: 19
Distance: 0.00020680024548248656
Type 4 max euler error = 7.811529201262601e-13
Type 1 max euler error = 2.806033183588852e-12
Type 2 max euler error = 2.360389661504314e-12
Type 3 max euler error = 1.4336171139106568e-12
Type 6 max euler error = 5.417888360170764e-13
Type 0 max euler error = 7.296385717836529e-13
Type 5 max euler error = 6.492584248007915e-13
Maximum debt ratio: 10.119116593946066
r diff: 3.95821174918598e-06 -4.133688418631043e-06
BQ diff: 5.10257392260377e-06 -1.063483666442766e-06
TR diff: 3.6683827978056804e-07 -5.238237332928775e-06
Y diff: 4.075980886475428e-06 -5.8202637032600535e-05
Iteration: 20
Distance: 0.00013450820712639013
Type 6 max euler error = 5.362377208939506e-13
Type 2 max euler error = 2.3520352332440098e-12
Type 3 max euler error = 1.4358098043842915e-12
Type 0 max euler error = 7.227551890309769e-13
Type 1 max euler error = 2.806838095281705e-12
Type 5 max euler error = 6.519229600598919e-13
Type 4 max euler error = 7.904787935331115e-13
Maximum debt ratio: 10.120084581668156
r diff: 2.4860256183922846e-06 -2.7195061220591787e-06
BQ diff: 3.3183019689658755e-06 -7.187281909487586e-07
TR diff: 2.2543503706839996e-07 -3.398743286087136e-06
Y diff: 2.504833745198276e-06 -3.7763814289826225e-05
Iteration: 21
Distance: 8.727849406746787e-05
Type 4 max euler error = 8.006928453596629e-13
Type 2 max euler error = 2.3531177006930193e-12
Type 6 max euler error = 5.286882043264995e-13
Type 3 max euler error = 1.434727336935282e-12
Type 0 max euler error = 7.123190925995004e-13
Type 1 max euler error = 2.8011482022805012e-12
Type 5 max euler error = 6.581402089977928e-13
Maximum debt ratio: 10.120711026393463
r diff: 1.55649972495564e-06 -1.7828696295824065e-06
BQ diff: 2.153125648551857e-06 -4.82939214375977e-07
TR diff: 1.3823511953170442e-07 -2.2001825911235895e-06
Y diff: 1.5359457725683257e-06 -2.444647323462945e-05
Iteration: 22
Distance: 5.6502018657719584e-05
Type 2 max euler error = 2.3629154188853363e-12
Type 4 max euler error = 7.984723993104126e-13
Type 1 max euler error = 2.8048119382617642e-12
Type 6 max euler error = 5.32018873400375e-13
Type 3 max euler error = 1.4234585732353366e-12
Type 0 max euler error = 7.138734048339757e-13
Type 5 max euler error = 6.550315845288424e-13
Maximum debt ratio: 10.121115500400071
r diff: 9.714608163041705e-07 -1.1649654627493566e-06
BQ diff: 1.3939742013815981e-06 -3.2354664308148484e-07
TR diff: 8.459332172250367e-08 -1.421130355484801e-06
Y diff: 9.399257970832409e-07 -1.579033728305035e-05
Iteration: 23
Distance: 3.6497669986186254e-05
Type 0 max euler error = 7.200906537718765e-13
Type 3 max euler error = 1.4291345884487328e-12
Type 6 max euler error = 5.291322935363496e-13
Type 4 max euler error = 8.113509863960644e-13
Type 5 max euler error = 6.52367049269742e-13
Type 1 max euler error = 2.807365451218402e-12
Type 2 max euler error = 2.366523643715368e-12
Maximum debt ratio: 10.121376074075108
r diff: 6.044011817279982e-07 -7.588294129029505e-07
BQ diff: 9.004913586255214e-07 -2.1480495194375893e-07
TR diff: 5.167014349716226e-08 -9.159409898595872e-07
Y diff: 5.7411270559804e-07 -1.017712210948929e-05
Iteration: 24
Distance: 2.3571777790309987e-05
Type 1 max euler error = 2.81169532101444e-12
Type 0 max euler error = 7.143174940438257e-13
Type 6 max euler error = 5.364597654988756e-13
Type 5 max euler error = 6.541434061091422e-13
Type 4 max euler error = 8.166800569142652e-13
Type 2 max euler error = 2.348038430355359e-12
Type 3 max euler error = 1.4296203110220063e-12
Maximum debt ratio: 10.121543580923124
r diff: 3.7482965599411333e-07 -4.928067627446575e-07
BQ diff: 5.804345469401229e-07 -1.427898556130569e-07
TR diff: 3.150573503474252e-08 -5.890872948471904e-07
Y diff: 3.500637226760972e-07 -6.5454143871601644e-06
Iteration: 25
Distance: 1.5190355063629057e-05
Type 4 max euler error = 8.15347789284715e-13
Type 1 max euler error = 2.8083091407893335e-12
Type 2 max euler error = 2.3584745267868357e-12
Type 3 max euler error = 1.420433215493233e-12
Type 0 max euler error = 7.103206911551752e-13
Type 5 max euler error = 6.479261571712414e-13
Type 6 max euler error = 5.295763827461997e-13
Maximum debt ratio: 10.121651034600331
r diff: 2.3170145686812749e-07 -3.191291042953237e-07
BQ diff: 3.7332456470640096e-07 -9.411630735867149e-08
TR diff: 1.9179714372263845e-08 -3.780835527780746e-07
Y diff: 2.1310793751894153e-07 -4.200928364228584e-06
Iteration: 26
Distance: 9.767892773703785e-06
Max absolute value resource constraint error: 5.676589200948046e-06
Checking time path for violations of constraints.
Max Euler error, savings: [2.42145193e-12 2.69143041e-12 1.31561428e-12 1.12110321e-12
9.65671987e-13 8.10962408e-13 1.34250944e-12 1.41821277e-12
1.35275124e-12 1.35973177e-12 1.26605670e-12 1.15331356e-12
1.16733012e-12 1.27310662e-12 1.42043322e-12 7.06976144e-13
4.00762756e-13 8.05577827e-13 7.57116592e-13 6.21641627e-13
4.75813833e-13 4.97907271e-13 4.96880315e-13 4.96741537e-13
4.63795669e-13 4.56273908e-13 4.15056878e-13 4.40730785e-13
3.97432087e-13 2.83023605e-13 2.74447132e-13 3.28320704e-13
3.84303700e-13 4.35623759e-13 4.74065232e-13 5.01348962e-13
5.46229728e-13 6.00852701e-13 5.99464922e-13 5.75151038e-13
5.67934588e-13 5.21971355e-13 4.83890705e-13 4.38371561e-13
4.24493773e-13 3.71924713e-13 3.22269988e-13 2.89046564e-13
2.66647815e-13 3.24046345e-13 3.95572464e-13 4.36456427e-13
4.66238159e-13 4.57106575e-13 4.48779902e-13 4.45060655e-13
4.15750767e-13 3.74977827e-13 3.33205685e-13 1.72747927e-12
1.74446568e-12 1.75556791e-12 1.76164638e-12 1.77022286e-12
3.35675931e-13 3.56187302e-13 3.61238817e-13 3.84275944e-13
3.76171316e-13 3.79057896e-13 3.67261777e-13 3.72729625e-13
3.48832074e-13 3.49636986e-13 3.18328697e-13 3.26016991e-13
3.17385007e-13 3.03895797e-13 2.99704705e-13 2.87270208e-13
2.89879232e-13 2.60846900e-13 2.78055357e-13 2.70367062e-13
2.67508238e-13 2.57044386e-13 2.55462318e-13 2.67036393e-13
2.62040389e-13 1.75012782e-12 1.76830772e-12 1.76772486e-12
2.59486876e-13 2.58182364e-13 2.80969692e-13 2.78166379e-13
2.62456723e-13 2.93765012e-13 2.84605672e-13 3.01259018e-13
2.99482661e-13 3.01592085e-13 2.94625435e-13 3.03895797e-13
3.05450110e-13 3.16552340e-13 3.03340686e-13 2.99010816e-13
3.03701508e-13 2.94014812e-13 3.02174952e-13 3.04728465e-13
2.87797564e-13 2.77888823e-13 2.94320124e-13 2.93987057e-13
3.00509617e-13 2.87603275e-13 2.88158386e-13 2.87131430e-13
2.86770607e-13 2.98178149e-13 2.90351077e-13 2.92293967e-13
3.03451708e-13 2.97817326e-13 2.89074320e-13 2.92127433e-13
2.85216295e-13 2.90739655e-13 2.84772206e-13 2.85937940e-13
2.97872838e-13 3.10085291e-13 2.96845881e-13 2.89823721e-13
2.99843483e-13 2.97400993e-13 2.94958502e-13 2.92932345e-13
2.95041769e-13 2.98705505e-13 2.94292368e-13 2.92571523e-13
2.92987856e-13 2.91794366e-13 2.95596880e-13 2.91905389e-13
3.00620639e-13 2.97928349e-13 2.98872038e-13 2.92432745e-13
2.84966495e-13 3.02535774e-13 2.85910184e-13 2.89768209e-13
2.97456504e-13 3.10862447e-13 2.89268609e-13 2.93182145e-13
3.07948111e-13 2.91933144e-13 2.85771407e-13 2.86520807e-13
2.86576318e-13 2.94847480e-13 2.78471690e-13 2.94597680e-13
2.88796764e-13 3.03007619e-13 3.06615844e-13 3.00620639e-13
2.95985458e-13 2.88491453e-13 3.00037772e-13 2.92349478e-13
2.87520008e-13 2.90406588e-13 2.92238456e-13 3.01675351e-13
2.91849878e-13 2.89240853e-13 2.88741253e-13 2.93903790e-13
2.89018809e-13 2.93320923e-13 2.89240853e-13 2.96984659e-13
2.93876035e-13 2.83245649e-13 2.87214696e-13 2.97151193e-13
2.95125036e-13 3.00259817e-13 2.91461300e-13 2.93293168e-13
2.95652391e-13 2.97734060e-13 2.91766611e-13 3.02369241e-13
3.01453307e-13 2.99982261e-13 2.86826118e-13 2.96374036e-13
2.84272605e-13 3.02147196e-13 2.84106072e-13 2.98705505e-13
3.01592085e-13 3.01619840e-13 3.00870440e-13 2.87547763e-13
2.87214696e-13 2.95208302e-13 2.95652391e-13 2.94791969e-13
3.00731662e-13 2.92432745e-13 3.01481062e-13 3.11833892e-13
2.86465296e-13 2.93320923e-13 2.88297164e-13 2.95097280e-13
2.95402591e-13 2.97650793e-13 3.09419157e-13 2.85271806e-13
2.97761815e-13 2.92044167e-13 3.04894998e-13 2.89129831e-13
2.95263813e-13 2.99538172e-13 2.94514413e-13 3.01064729e-13
3.01314529e-13 2.99843483e-13 3.04478665e-13 2.92710300e-13
2.92960101e-13 2.83245649e-13 2.91044966e-13 3.02174952e-13
2.91433544e-13 2.86382029e-13 2.97012415e-13 2.92738056e-13
3.03423953e-13 2.94320124e-13 2.86659585e-13 3.00676151e-13
2.85715895e-13 3.02646797e-13 2.99538172e-13 2.94708702e-13
2.98622238e-13 3.04978265e-13 2.93987057e-13 2.98455705e-13
3.02091685e-13 2.95402591e-13 2.94930746e-13 2.90961699e-13
2.86021207e-13 2.97040170e-13 2.98205904e-13 3.00787173e-13
2.90878432e-13 2.95319325e-13 3.09197112e-13 2.86853874e-13
3.00676151e-13 2.96429548e-13 2.98289171e-13 3.00731662e-13
2.96734859e-13 2.97289970e-13 2.86881630e-13 3.00426350e-13
2.96401792e-13 2.89018809e-13 2.97178948e-13 3.01952907e-13
2.85521606e-13 2.98649994e-13 3.02952108e-13 3.04783976e-13
2.92099678e-13 2.85854673e-13 2.82024404e-13 2.88574720e-13
2.78443935e-13 2.91294766e-13 2.85049762e-13 3.02258218e-13
2.97678548e-13 2.99343883e-13 3.12000425e-13 2.92599278e-13
2.91489055e-13 2.97345482e-13 2.84078316e-13 2.92876834e-13
2.91461300e-13 2.97151193e-13 2.91905389e-13 2.86659585e-13
2.98039371e-13 3.01259018e-13 3.00093284e-13 3.01120240e-13
2.97817326e-13 2.91960900e-13 2.98261416e-13 2.97067926e-13
3.08086889e-13 2.92044167e-13 2.92627034e-13 2.98344682e-13]
Max Euler error labor supply: [1.36046729e-12 1.52300395e-12 7.99804667e-13 6.24833518e-13
6.03073147e-13 5.21360732e-13 1.04050102e-12 1.20126131e-12
1.18483001e-12 1.20836674e-12 1.12532206e-12 1.02629016e-12
1.03783648e-12 1.13420384e-12 1.27009514e-12 6.24389429e-13
6.44817533e-13 6.16395823e-13 5.69322367e-13 5.12034859e-13
4.60520511e-13 4.73843187e-13 4.76063633e-13 4.79172257e-13
4.87609952e-13 5.02708986e-13 5.21804822e-13 5.41788836e-13
5.47561996e-13 5.64881475e-13 5.75539616e-13 5.74207348e-13
5.74207348e-13 5.76427794e-13 5.67546010e-13 5.64437386e-13
5.52002888e-13 5.48006085e-13 5.40456568e-13 5.42677014e-13
5.42232925e-13 5.27577981e-13 5.28022071e-13 5.31130695e-13
5.31574784e-13 5.33351141e-13 5.38236122e-13 5.36015676e-13
5.42677014e-13 5.49782442e-13 5.62661029e-13 5.55111512e-13
5.54667423e-13 5.69322367e-13 5.73319170e-13 5.78204151e-13
5.73763259e-13 5.82200954e-13 5.78648240e-13 1.10444986e-12
1.09379172e-12 1.09112719e-12 1.08313358e-12 1.08579812e-12
5.71986902e-13 5.63549207e-13 5.71542813e-13 5.71542813e-13
5.61328761e-13 5.64881475e-13 5.62216940e-13 5.52891066e-13
5.59108315e-13 5.51558799e-13 5.48450174e-13 5.51558799e-13
5.47561996e-13 5.51558799e-13 5.58220137e-13 5.43121104e-13
5.52891066e-13 5.49338353e-13 5.55999691e-13 5.63549207e-13
5.52891066e-13 5.63549207e-13 5.63105118e-13 5.63549207e-13
5.53335155e-13 1.11288756e-12 1.10489395e-12 1.10311760e-12
5.53335155e-13 5.60884672e-13 5.54223334e-13 5.50226531e-13
5.57331958e-13 5.48006085e-13 5.52446977e-13 5.61328761e-13
5.46673817e-13 5.60884672e-13 5.53779245e-13 5.58220137e-13
5.57776048e-13 5.68434189e-13 5.55999691e-13 5.55555602e-13
5.51558799e-13 5.66213743e-13 5.57776048e-13 5.59108315e-13
5.51114709e-13 5.53779245e-13 5.54223334e-13 5.60884672e-13
5.59552404e-13 5.50670620e-13 5.56443780e-13 5.55999691e-13
5.52446977e-13 5.60440583e-13 5.52891066e-13 5.48006085e-13
5.55111512e-13 5.60884672e-13 5.55111512e-13 5.62661029e-13
5.60440583e-13 5.53779245e-13 5.53335155e-13 5.58664226e-13
5.56443780e-13 5.52446977e-13 5.58664226e-13 5.51114709e-13
5.57331958e-13 5.59552404e-13 5.53779245e-13 5.52446977e-13
5.53779245e-13 5.52891066e-13 5.57776048e-13 5.61328761e-13
5.55111512e-13 5.59108315e-13 5.58220137e-13 5.55999691e-13
5.47117907e-13 5.52891066e-13 5.54667423e-13 5.53779245e-13
5.54667423e-13 5.55555602e-13 5.52002888e-13 5.57776048e-13
5.54667423e-13 5.62661029e-13 5.52446977e-13 5.58220137e-13
5.52446977e-13 5.50226531e-13 5.53335155e-13 5.56443780e-13
5.58664226e-13 5.54223334e-13 5.52891066e-13 5.59108315e-13
5.57776048e-13 5.51114709e-13 5.65769653e-13 5.58664226e-13
5.59996494e-13 5.55111512e-13 5.50670620e-13 5.50670620e-13
5.66213743e-13 5.53335155e-13 5.60884672e-13 5.57331958e-13
5.52891066e-13 5.61328761e-13 5.50226531e-13 5.60884672e-13
5.64437386e-13 5.57331958e-13 5.61328761e-13 5.61328761e-13
5.52891066e-13 5.47117907e-13 5.50670620e-13 5.55111512e-13
5.56887869e-13 5.58664226e-13 5.60884672e-13 5.60884672e-13
5.55555602e-13 5.53335155e-13 5.52891066e-13 5.56443780e-13
5.58220137e-13 5.56887869e-13 5.63105118e-13 5.55111512e-13
5.50670620e-13 5.62216940e-13 5.50226531e-13 5.60440583e-13
5.59108315e-13 5.63105118e-13 5.59108315e-13 5.58220137e-13
5.57776048e-13 5.49782442e-13 5.53335155e-13 5.58220137e-13
5.53779245e-13 5.55999691e-13 5.59108315e-13 5.54667423e-13
5.55999691e-13 5.52446977e-13 5.59996494e-13 5.47117907e-13
5.59996494e-13 5.59108315e-13 5.58664226e-13 5.59552404e-13
5.50670620e-13 5.55999691e-13 5.56887869e-13 5.61772850e-13
5.54223334e-13 5.54223334e-13 5.56443780e-13 5.58220137e-13
5.58220137e-13 5.54223334e-13 5.57776048e-13 5.52891066e-13
5.53779245e-13 5.55555602e-13 5.55111512e-13 5.59108315e-13
5.58220137e-13 5.53779245e-13 5.63549207e-13 5.50226531e-13
5.60440583e-13 5.52891066e-13 5.48450174e-13 5.56887869e-13
5.50226531e-13 5.58220137e-13 5.56887869e-13 5.52891066e-13
5.58220137e-13 5.65769653e-13 5.55555602e-13 5.55111512e-13
5.52002888e-13 5.59108315e-13 5.56887869e-13 5.55555602e-13
5.51114709e-13 5.57331958e-13 5.53779245e-13 5.54223334e-13
5.55111512e-13 5.54667423e-13 5.57776048e-13 5.57776048e-13
5.54223334e-13 5.56887869e-13 5.57331958e-13 5.59108315e-13
5.56443780e-13 5.52002888e-13 5.54667423e-13 5.58220137e-13
5.61772850e-13 5.57331958e-13 5.55555602e-13 5.59552404e-13
5.59552404e-13 5.53335155e-13 5.52446977e-13 5.61328761e-13
5.51558799e-13 5.52891066e-13 5.57776048e-13 5.60884672e-13
5.55111512e-13 5.59108315e-13 5.57331958e-13 5.60884672e-13
5.55999691e-13 5.67990099e-13 5.56887869e-13 5.53779245e-13
5.53335155e-13 5.61772850e-13 5.61772850e-13 5.58664226e-13
5.61772850e-13 5.57331958e-13 5.62216940e-13 5.58220137e-13
5.52891066e-13 5.52002888e-13 5.64881475e-13 5.48450174e-13
5.63549207e-13 5.52002888e-13 5.63993297e-13 5.52446977e-13
5.65325564e-13 5.69766456e-13 5.53335155e-13 5.58220137e-13]
Time path iteration complete.
It took 6187.703963518143 seconds to get that part done.
run time = 6187.707151889801
Percentage changes in aggregates: Year Variable 2018 2019 2020 ... 2026 2027 2018-2027 SS
0 GDP ($Y_t$) -1.26 -1.00 -0.83 ... -0.26 -0.06 -0.68 -1.92
1 Consumption ($C_t$) -2.59 -2.95 -2.94 ... -3.49 -3.57 -3.17 -4.16
2 Capital Stock ($K_t$) -0.18 -0.19 -0.09 ... 1.22 1.63 0.38 -3.49
3 Labor ($L_t$) -1.84 -1.44 -1.23 ... -1.05 -0.97 -1.25 -1.05
4 Real interest rate ($r_t$) -2.46 -1.78 -1.58 ... -2.73 -3.06 -2.24 3.34
5 Wage rate 0.59 0.44 0.40 ... 0.80 0.91 0.59 -0.87
[6 rows x 13 columns]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment